1. 29 Jan, 2018 1 commit
  2. 23 Jan, 2018 1 commit
    • Vladimír Čunát's avatar
      nitpicks from review of !405: query-trace · f705c82a
      Vladimír Čunát authored
      The deckard change was probably unintentional, so I reverted that.
      The only real mistake I found was `sizeof(128)`, though the effect was
      just unnecessary reallocations.
      
      On the whole I really like it.  Verbose logging might get slightly
      slower, due to increased amount of string allocation and copying,
      but it does seem worth it, at least until we can prove otherwise.
      I didn't look much into http module changes, etc.
      f705c82a
  3. 18 Jan, 2018 1 commit
  4. 12 Jan, 2018 1 commit
  5. 08 Jan, 2018 1 commit
  6. 21 Dec, 2017 2 commits
    • Marek Vavruša's avatar
      lib: added support for trace_log for verbose messages · 393b738a
      Marek Vavruša authored
      The `QRVERBOSE` macro uses the `query` pointer to find out whether the
      request has trace log enabled. If it does, it uses trace log to log verbose messages using that callback (regardless of whether verbose mode is set or not).
      
      This required changing of structure printing functions to formatting functions returning textual representation of the objects (dname, rrset, pkt).
      This is potentially slower as creates heap objects, but it doesn't happen
      in the hotpath so it doesn't really matter for verbose logs.
      393b738a
    • Marek Vavruša's avatar
      lib/resolve: add support for per-request logging · 0a04428e
      Marek Vavruša authored
      This is useful in many troubleshooting scenarios when you want debug logs
      just for a single request. It's going to expand on TRACE flag functionality
      in the next PRs, so that special requests can be invoked with various tracers attached.
      
      Currently this is only available in the C modules that can set the callback,
      it's not called anywhere in the library yet.
      0a04428e
  7. 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
  8. 16 Nov, 2017 1 commit
  9. 15 Nov, 2017 1 commit
  10. 21 Sep, 2017 1 commit
  11. 12 Sep, 2017 1 commit
    • Vladimír Čunát's avatar
      gnutls logging improvements · 3467ee81
      Vladimír Čunát authored
      - move it to utils.c, so it's sensitive to later changes in verbosity
      - don't mark the lines with [tls], as they may come through libdnssec
      - use stdout like other verbose messages, instead of stderr (real errors)
      3467ee81
  12. 07 Aug, 2017 1 commit
  13. 04 Aug, 2017 1 commit
  14. 03 Aug, 2017 1 commit
    • Vladimír Čunát's avatar
      kr_rand_uint: nitpicks · c2dbf720
      Vladimír Čunát authored
      - the returned value is up to max-1 and not max (tiny bias)
      - improve efficiency slightly
      - unsigned -> uint32_t, as that's the range it supports (mostly equal)
      c2dbf720
  15. 07 Jul, 2017 1 commit
  16. 30 Jun, 2017 1 commit
  17. 19 Jun, 2017 1 commit
  18. 01 Jun, 2017 2 commits
  19. 19 May, 2017 1 commit
  20. 31 Mar, 2017 1 commit
  21. 22 Mar, 2017 1 commit
  22. 21 Mar, 2017 3 commits
  23. 06 Mar, 2017 1 commit
  24. 28 Feb, 2017 7 commits
  25. 27 Feb, 2017 1 commit
  26. 27 Jan, 2017 1 commit
  27. 26 Jan, 2017 1 commit
  28. 25 Jan, 2017 1 commit
  29. 23 Jan, 2017 2 commits