Skip to content
Snippets Groups Projects
  1. 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.)
      Verified
      0555828e
  2. Jul 29, 2021
  3. Jul 16, 2021
  4. Jul 15, 2021
  5. May 25, 2021
  6. 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
      Verified
      f4a1df9b
  7. Feb 11, 2021
  8. Dec 31, 2020
  9. 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.
      Verified
      ddc67e7b
  10. Oct 26, 2020
  11. Oct 21, 2020
  12. Sep 10, 2020
  13. Sep 07, 2020
  14. Aug 07, 2020
  15. 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.
      Verified
      b7629c55
  16. May 13, 2020
  17. Mar 25, 2020
  18. Feb 25, 2020
  19. Jan 29, 2020
  20. Jan 17, 2020
  21. Dec 18, 2019
  22. 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
      Verified
      edb8ffef
  23. Nov 28, 2019
  24. Sep 20, 2019
  25. Jul 23, 2019
  26. Jul 10, 2019
  27. Jul 03, 2019
  28. Jun 13, 2019
  29. Apr 18, 2019