1. 11 Dec, 2018 8 commits
  2. 26 Nov, 2018 2 commits
  3. 11 May, 2018 1 commit
  4. 28 Mar, 2018 1 commit
  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. 22 Feb, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · a159bab9
      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...
      
      (cherry picked from map-alloc - commit b1b8157b94fb41)
      a159bab9
  7. 15 Feb, 2018 1 commit
  8. 13 Feb, 2018 1 commit
  9. 29 Jan, 2018 1 commit
  10. 25 Jan, 2018 1 commit
  11. 23 Jan, 2018 1 commit
  12. 08 Jan, 2018 1 commit
  13. 08 Dec, 2017 1 commit
    • Vitezslav Kriz's avatar
      use monotonic time · 0abbe1f4
      Vitezslav Kriz authored
      Monotonic time from libuv function uv_now (wrapped in kr_now) is
      used for query timeout, stats and RTT in reputation cache.
      
      Cache, DNSSEC Validation and Cookies use real time.
      0abbe1f4
  14. 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
  15. 25 Jan, 2017 1 commit
  16. 12 Dec, 2016 1 commit
  17. 08 Nov, 2016 2 commits
    • Vladimír Čunát's avatar
      layer: refactor and better describe the API · cc47973e
      Vladimír Čunát authored
      - The API and ABI for modules changes slightly (details below).
        KR_MODULE_API is bumped to avoid loading incompatible code.
        We have bumped libkres ABIVER since the last release 1.1.1,
        so leaving that one intact.
      
      - Make KR_STATE_YIELD not reuse 0 value anymore.
        It's easy to e.g. return kr_ok() by mistake.
      - struct kr_layer_t:
        * ::mm was unused, uninitialized, etc.
        * Make ::state an int, as it was everywhere else.
        * void *data was ugly and always containing struct kr_request *
      - struct kr_layer_api:
        * Drop the void* parameter from ::begin, as it was only used
          for the request which is available as ctx->req anyway
          (formerly ctx->data).
        * Drop ::fail.  It wasn't even called.  Modules can watch for
          KR_STATE_FAIL in ::finish.
      - Document the apparent meaning of the layer interface, deduced mainly
        from the way it's used in the code.  Caveats:
        * enum knot_layer_state handling seems to assume that it holds exactly
          one of the possibilities at a time.  The cookie module does NOT
          follow that (intentionally), apparently depending on the exact
          implementation of the handling at that moment.  It feels fragile.
        * I was unable to deduce a plausible description of when ::reset is
          called.  It's practically unused in modules, too.
      cc47973e
    • Vladimír Čunát's avatar
      layer: rename knot_ identifiers that are private now · 4ad98bff
      Vladimír Čunát authored
      It causes lots of line changes, but it would be confusing to keep the
      current state over long term.
      4ad98bff
  18. 02 Nov, 2016 1 commit
  19. 16 Jul, 2016 1 commit
  20. 12 Jul, 2016 1 commit
  21. 06 Jul, 2016 3 commits
  22. 17 Dec, 2015 1 commit
  23. 10 Dec, 2015 1 commit
  24. 09 Dec, 2015 2 commits
  25. 03 Dec, 2015 1 commit
  26. 25 Nov, 2015 2 commits
  27. 19 Sep, 2015 1 commit