1. 01 Feb, 2017 1 commit
  2. 25 Jan, 2017 2 commits
  3. 24 Jan, 2017 1 commit
  4. 23 Jan, 2017 1 commit
  5. 17 Jan, 2017 3 commits
  6. 02 Nov, 2016 2 commits
    • Vladimír Čunát's avatar
      lru_get_new *can* return NULL · eeec66a1
      Vladimír Čunát authored
      ... and that doesn't necessarily mean that malloc() failed.
      We do *not* want to evict a heavy-hitter by an unfrequent element.
      
      Note: even the implementation currently in master *did* return NULL,
      so some parts of the code were just wrongly returning ENOMEM.
      eeec66a1
    • Vladimír Čunát's avatar
      lru: new implementation and also interface · 9d5beac5
      Vladimír Čunát authored
      The implementation is now similar to set-associative caches
      that x86 CPU use.  Also the API is changed a bit, leading to
      slight simplification of our use patterns.
      9d5beac5
  7. 24 Oct, 2016 1 commit
  8. 11 Aug, 2016 2 commits
  9. 16 Jul, 2016 1 commit
  10. 06 Jul, 2016 2 commits
  11. 22 Jun, 2016 1 commit
  12. 30 May, 2016 1 commit
  13. 27 May, 2016 2 commits
  14. 25 May, 2016 1 commit
  15. 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
  16. 06 May, 2016 3 commits
  17. 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
  18. 15 Apr, 2016 3 commits
  19. 14 Apr, 2016 4 commits
  20. 22 Feb, 2016 1 commit
  21. 11 Feb, 2016 1 commit
  22. 08 Feb, 2016 1 commit
    • Marek Vavrusa's avatar
      lib/validate: scrubbed extra rrs in NS were checked · 78cb3f07
      Marek Vavrusa authored
      the validator module should ignore any data that
      will be scrubbed, that includes non-authoritative
      data outside current bailiwick. previously, 
      validator attempted to ignore these records only
      for answer section and had a special case for NS
      records.
      
      cache: non-authoritative NS records are always
      unchecked and must be treated as insecure
      
      affected: www.iana.org trying to provide
      delegation information for CNAME target, which is
      moot with CNAME target explicit-fetch policy unless
      the the resolver already knows DNSKEY with which
      is could verify the records
      78cb3f07
  23. 29 Jan, 2016 2 commits
  24. 21 Jan, 2016 1 commit
  25. 20 Jan, 2016 1 commit