Skip to content
Snippets Groups Projects
  1. Jun 12, 2023
  2. Mar 10, 2023
  3. Mar 02, 2023
    • Oto Šťáva's avatar
      daemon/engine: warning when log_groups contains a non-existent group · a614818b
      Oto Šťáva authored and Vladimír Čunát's avatar Vladimír Čunát committed
      Until now, kresd would refuse to start when a log_groups Lua call
      contained a non-existent group. After this change, only a warning is
      printed, which helps during development while switching between branches
      with new logging groups. I don't think changing the configuration all
      the time just for a logging group is warranted.
      a614818b
  4. Jan 26, 2023
  5. Dec 14, 2022
  6. Dec 13, 2022
  7. Dec 06, 2022
  8. Nov 30, 2022
  9. Nov 07, 2022
  10. Oct 27, 2022
  11. Oct 25, 2022
  12. Sep 27, 2022
  13. Aug 25, 2022
  14. Aug 24, 2022
  15. Aug 11, 2022
    • Vladimír Čunát's avatar
      daemon/worker: drop caching of kr_request mempools · 17815ff3
      Vladimír Čunát authored
      This caused a huge increase in real memory usage in case of queries
      arriving to kresd while being disconnected from internet.
      The usage was slowly creeping up, even over 2G.
      
      Interesting past commits: b350d38d and two preceding.
      
      There apparently was no real memory leak.  I assume that reusal of
      long-living mempools is risky in terms of memory fragmentation,
      though the extent of the issue surprised me very much.
      The issue seemed the same with normal glibc and jemalloc.
      
      I generally dislike ad-hoc optimization attempts like these freelists.
      Now the allocator can better decide *itself* how to reuse memory.
      Verified
      17815ff3
    • Vladimír Čunát's avatar
  16. Aug 08, 2022
  17. Jul 26, 2022
  18. Jul 13, 2022
  19. Jun 29, 2022
  20. Jun 27, 2022
  21. Jun 17, 2022
    • Oto Šťáva's avatar
      daemon/http: improve URI checks · e280a162
      Oto Šťáva authored
      The `check_uri()` function now only checks that the endpoint is either
      `/doh` or `/dns-query`. Parameter checks were moved into
      `process_uri_path()` so that the check only takes place for GET
      requests. POST requests now do not care about parameters at all.
      e280a162
  22. Jun 03, 2022
  23. Jun 01, 2022
  24. May 20, 2022