Skip to content
Snippets Groups Projects
  1. Nov 02, 2016
    • 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
  2. Oct 24, 2016
  3. Aug 11, 2016
  4. Jul 16, 2016
  5. Jul 06, 2016
  6. Jun 22, 2016
  7. May 30, 2016
  8. May 27, 2016
  9. May 25, 2016
  10. May 20, 2016
    • 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
  11. May 06, 2016
  12. May 03, 2016
    • 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
  13. Apr 15, 2016
  14. Apr 14, 2016
  15. Feb 22, 2016
  16. Feb 11, 2016
  17. Feb 08, 2016
    • 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
  18. Jan 29, 2016
  19. Jan 21, 2016
  20. Jan 20, 2016
  21. Jan 15, 2016
  22. Jan 11, 2016
  23. Dec 23, 2015
  24. Dec 17, 2015