1. 29 Aug, 2018 3 commits
  2. 27 Aug, 2018 1 commit
  3. 25 Aug, 2018 3 commits
  4. 23 Aug, 2018 3 commits
  5. 22 Aug, 2018 3 commits
  6. 20 Aug, 2018 4 commits
    • Tony Finch's avatar
      trie: support for copy-on-write transactions · 1bc09711
      Tony Finch authored
      A COW transaction allows a trie to be used for reading concurrently
      while a modified version of the trie is being prepared. The change
      can be committed by swapping the new trie root in place of the old one.
      
      Internally, this feature uses one bit reference counts to identify which
      parts of the trie are shared between the old and new versions, which
      parts are new-only (so can be mutated) and which parts are old-only
      (and will be free()d after commit).
      1bc09711
    • Tony Finch's avatar
      trie: refactor to prepare for copy-on-write support · e7b7e187
      Tony Finch authored
      No functional change.
      
      The point of this commit is to make it possible to stash a few
      flags in leaf nodes as well as branch nodes, though we don't
      yet exercise this possibility in any meaningful way.
      
      This fixes a foolish mistake in the original qp trie data structure
      declarations: the combination of unions and bitfields is a complete
      disaster for portability, and it gets into dangerous territory wrt
      compiler optimization. Instead, we just use a big enough word (uint64_t)
      which is broken up into fields using accessor macros and inline functions,
      and cast it to a pointer when necessary. We don't actually care about
      the detailed layout in memory, just the numeric value, so a union was
      the wrong tool.
      e7b7e187
    • Daniel Salzman's avatar
    • Daniel Salzman's avatar
  7. 18 Aug, 2018 1 commit
    • Vladimír Čunát's avatar
      dnssec_nsec_bitmap_contains(): fixup errors · cdf26d5f
      Vladimír Čunát authored
      I just minimally changed the code to be equivalent the to function
      from knot-resolver. (identifier renames complicate the comparison)
      I didn't try to verify that the result is completely flawless.
      cdf26d5f
  8. 13 Aug, 2018 2 commits
  9. 12 Aug, 2018 2 commits
  10. 10 Aug, 2018 1 commit
    • Libor Peltan's avatar
      rrsig ttl - fix updating from orig_ttl for all output and diff, see below · 7f37173a
      Libor Peltan authored
      RFC requires that unlike other rrset types, RRSIG must store different TTL for each rdata, to keep them equal to signed rrset's TTL.
      But Knot only stores one TTL per rrset, fixing this by using orig_ttl from RRSIG and updating TTL while answer.
      
      This commit also fixes this for knotc zone-read and knotc zone-diff commands.
      
      Moreover, zone update from differences ignores changed TTL-only for RRSIGS. Changed orig_ttl is still diffed as it's part of rdata.
      7f37173a
  11. 09 Aug, 2018 1 commit
  12. 02 Aug, 2018 2 commits
  13. 01 Aug, 2018 6 commits
  14. 31 Jul, 2018 1 commit
  15. 29 Jul, 2018 1 commit
  16. 28 Jul, 2018 1 commit
  17. 27 Jul, 2018 4 commits
  18. 26 Jul, 2018 1 commit