1. 27 Aug, 2018 1 commit
  2. 25 Aug, 2018 3 commits
  3. 23 Aug, 2018 3 commits
  4. 22 Aug, 2018 3 commits
  5. 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).
    • 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.
    • Daniel Salzman's avatar
    • Daniel Salzman's avatar
  6. 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.
  7. 13 Aug, 2018 2 commits
  8. 12 Aug, 2018 2 commits
  9. 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.
  10. 09 Aug, 2018 1 commit
  11. 02 Aug, 2018 2 commits
  12. 01 Aug, 2018 6 commits
  13. 31 Jul, 2018 1 commit
  14. 29 Jul, 2018 1 commit
  15. 28 Jul, 2018 1 commit
  16. 27 Jul, 2018 4 commits
  17. 26 Jul, 2018 1 commit
  18. 25 Jul, 2018 1 commit
  19. 24 Jul, 2018 2 commits