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