mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #1202: Fix code comment that packed_rrset_data is not always
'packed'. git-svn-id: file:///svn/unbound/trunk@3984 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e5431ca7e5
commit
ba11247f93
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
9 January 2017: Wouter
|
||||||
|
- Fix #1202: Fix code comment that packed_rrset_data is not always
|
||||||
|
'packed'.
|
||||||
|
|
||||||
6 January 2017: Wouter
|
6 January 2017: Wouter
|
||||||
- Fix #1201: Fix missing unlock in answer_from_cache error condition.
|
- Fix #1201: Fix missing unlock in answer_from_cache error condition.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,12 @@ enum sec_status {
|
||||||
* RRset data.
|
* RRset data.
|
||||||
*
|
*
|
||||||
* The data is packed, stored contiguously in memory.
|
* The data is packed, stored contiguously in memory.
|
||||||
|
*
|
||||||
|
* It is not always stored contiguously, in that case, an unpacked-packed
|
||||||
|
* rrset has the arrays separate. A bunch of routines work on that, but
|
||||||
|
* the packed rrset that is contiguous is for the rrset-cache and the
|
||||||
|
* cache-response routines in daemon/worker.c.
|
||||||
|
*
|
||||||
* memory layout:
|
* memory layout:
|
||||||
* o base struct
|
* o base struct
|
||||||
* o rr_len size_t array
|
* o rr_len size_t array
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue