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