1. 16 May, 2018 1 commit
  2. 23 Apr, 2018 1 commit
  3. 12 Apr, 2018 1 commit
  4. 06 Apr, 2018 3 commits
  5. 01 Mar, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · f821e688
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      f821e688
  6. 20 Feb, 2018 2 commits
  7. 25 Jan, 2018 2 commits
  8. 18 Jan, 2018 1 commit
  9. 15 Jan, 2018 1 commit
  10. 10 Nov, 2017 2 commits
  11. 26 Oct, 2017 1 commit
  12. 17 Oct, 2017 1 commit
    • Vladimír Čunát's avatar
      . · 595f4a14
      Vladimír Čunát authored
      Positive caching seems usable now. (No xNAME, wildcards, etc.)
      Problem around zone cuts:
       - clear cache
       - kdig fubar
       - kdig DNSKEY cz
      595f4a14
  13. 13 Oct, 2017 1 commit
  14. 21 Sep, 2017 1 commit
  15. 07 Sep, 2017 1 commit
  16. 01 Sep, 2017 1 commit
    • Vladimír Čunát's avatar
      cache: rework reusing transactions (LMDB) · e2621d92
      Vladimír Čunát authored
      Previously a read transaction could be held open by each fork
      indefinitely.  That was done for better speed, but it had a downside
      of keeping old pages alive and potentially reading only old data,
      until some writes were attempted by that fork.
      
      Now kr_cache_ provides explicit API for suitable points where to break
      transactions, reusing the _sync command.  On LMDB side the read-only
      transaction is only reset and later renewed, supposedly giving better
      performance than aborting (see LMDB docs on reset+renew).
      
      Performance: preliminary testing with two forks, resperf on comcast
      query-set shows no noticeable difference in peak QPS.
      e2621d92
  17. 01 Aug, 2017 1 commit
    • Vladimír Čunát's avatar
      qflags: WIP refactor - regex replacements · 57d48522
      Vladimír Čunát authored
      sed -e 's/flags |= QUERY_\([A-Z0-9_]*\);/flags.\1 = true;/g' \
              -e 's/flags &= ~QUERY_\([A-Z0-9_]*\);/flags.\1 = false;/g' \
              -e 's/\(flags\|options\|opts\) & QUERY_\([A-Z0-9_]*\)\()\| ||\)/\1.\2\3/g' \
              -i $(git grep -l QUERY_)
      57d48522
  18. 12 Jul, 2017 1 commit
  19. 07 Apr, 2017 1 commit
    • Vladimír Čunát's avatar
      kr_rank: improve the API to manipulate ranks · 416aec46
      Vladimír Čunát authored
      _SECURE and _INSECURE weren't real flags, as their setting was
      logically exclusive of the "values".  That made changing ranks rather
      cumbersome.
      
      Tests: val_cname_to_unsigned_fake_rrsig gets broken, but I hope this
      change just uncovered a hidden bug.
      416aec46
  20. 03 Apr, 2017 2 commits
  21. 30 Mar, 2017 1 commit
  22. 25 Jan, 2017 1 commit
  23. 29 Nov, 2016 1 commit
    • Vladimír Čunát's avatar
      hints: allow removing hints · 4080d6d5
      Vladimír Čunát authored
      Fixes #111.
      
      Compatibility: it needs a new libkres.so function.  If a wrong version
      combination is attempted, the module just cleanly fails to load, though
      it writes a slightly confusing message "no such file or directory".
      4080d6d5
  24. 02 Nov, 2016 2 commits
  25. 24 Oct, 2016 1 commit
  26. 17 Aug, 2016 3 commits
  27. 16 Jul, 2016 1 commit
  28. 12 Jul, 2016 1 commit
  29. 29 May, 2016 1 commit
  30. 20 May, 2016 1 commit
    • Marek Vavrusa's avatar
      lib: cache api v2, removed dep on libknot db.h · e68c3a0a
      Marek Vavrusa authored
      this change introduces new API for cache backends,
      that is a subset of knot_db_api_t from libknot
      with several cache-specific operations
      
      major changes are:
      * merged 'cachectl' module into 'cache' as it is
        99% default-on and it simplifies things
      * not transaction oriented, transactions may be
        reused and cached for higher performance
      * scatter/gather API, this is important for
        latency and performance of non-local backends
        like Redis
      * faster and reliable cache clearing
      * cache-specific operations (prefix scan, ...) in
        the API not hacked in
      * simpler code for both backends and caller
      e68c3a0a
  31. 03 May, 2016 1 commit
    • Marek Vavrusa's avatar
      daemon: out-of-order processing for TCP · c23edd06
      Marek Vavrusa authored
      * daemon now processes messages over TCP stream
      out-of-order and concurrently
      * support for TCP_DEFER_ACCEPT
      * support for TCP Fast-Open
      * there are now deadlines for TCP for idle/slow
      streams (to prevent slowloris; pruning)
      * there is now per-request limit on timeouts
      (each request is allowed 4 timeouts before bailing)
      * faster request closing, unified retry/timeout timers
      * rare race condition in timer closing fixed
      c23edd06