Skip to content
Snippets Groups Projects
  1. Dec 21, 2021
  2. Dec 20, 2021
  3. Nov 23, 2021
  4. Aug 10, 2021
    • Vladimír Čunát's avatar
      adjust RR-dumping style a little · 0555828e
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      The former "default" dumping style isn't really used anywhere in Knot.
      The only visible difference is that RRSIGs are now logged *without*
      replacing their TTLs by the original non-decremented TTL values.
      That can avoid some confusion when reading debug logs.
      (Those original TTLs are still shown a bit further on each line.)
      0555828e
  5. Jul 29, 2021
  6. Jul 16, 2021
  7. Jul 15, 2021
  8. May 25, 2021
  9. May 24, 2021
    • Tomas Krizek's avatar
      daemon/http: expose HTTP headers to kr_request · f4a1df9b
      Tomas Krizek authored
      Add HTTP headers to an optional kr_request.qsource.headers structure.
      Headers are stored as name, value string pairs.
      
      The following snippet can be used to access the headers in lua modules:
      
      ```
      if (req.qsource.headers ~= nil) then
      	for i = 1, tonumber(req.qsource.headers.len) do
      		local name = ffi.string(req.qsource.headers.at[i - 1].name)
      		local value = ffi.string(req.qsource.headers.at[i - 1].value)
      		print(name, value)
      	end
      end
      ```
      
      Fixes #616
      f4a1df9b
  10. Feb 11, 2021
  11. Dec 31, 2020
  12. Nov 10, 2020
    • Vladimír Čunát's avatar
      XDP: add backend parts · ddc67e7b
      Vladimír Čunát authored
      Logging strings: I originally wanted to have four chars inside [],
      but it doesn't really matter in these cases where logs don't happen
      within a request, so "[xdp]" won due to uniformity and simplicity.
      ddc67e7b
  13. Oct 26, 2020
  14. Oct 21, 2020
  15. Sep 10, 2020
  16. Sep 07, 2020
  17. Aug 07, 2020
  18. Aug 05, 2020
    • Vladimír Čunát's avatar
      daemon/lua: get rid of __engine symbol in lua · b7629c55
      Vladimír Čunát authored
      In particular this gets rid of last light user data inside kresd.
      
      It was still causing problems on some systems, for example Debian Sid.
      The error was the same: "bad light userdata pointer" from luajit,
      but note that the problem can still be triggered by lua libraries,
      e.g. cqueues.
      b7629c55
  19. May 13, 2020
  20. Mar 25, 2020
  21. Feb 25, 2020
  22. Jan 29, 2020
  23. Jan 17, 2020
  24. Dec 18, 2019
  25. Dec 04, 2019
    • Vladimír Čunát's avatar
      iterate: better efficiency on huge RRsets · edb8ffef
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      - written relatively defensively - act OK even if the API
        isn't used in an ideal way
      - CI lint:scan-build: bump the error count;
        It's only another instance of the mis-detected array_push().
      - the removed stale note in modules/meson.build isn't really related
      edb8ffef
  26. Nov 28, 2019
  27. Sep 20, 2019
  28. Jul 23, 2019
    • Vladimír Čunát's avatar
      kr_request: remove ::additional · b902adaa
      Vladimír Čunát authored
      Somehow I didn't notice this field when adding ::add_selected.
      We probably never put anything into answer's ADDITIONAL,
      so noone's noticed a problem until now.
      b902adaa
  29. Jul 10, 2019
  30. Jul 03, 2019
  31. Jun 13, 2019