1. 14 Aug, 2018 4 commits
  2. 26 Jun, 2018 3 commits
  3. 25 Jun, 2018 1 commit
  4. 31 May, 2018 1 commit
  5. 30 May, 2018 1 commit
    • Marek Vavruša's avatar
      daemon: allow per-request variables in Lua · 14de9110
      Marek Vavruša authored
      The handlers in Lua can now store per-request variables that are automatically
      GC'd when the request is finished. This is useful for stateful modules,
      such as DNS64 that uses internal option flags for state tracking.
      
      The layers can now get a variable table like so:
      
      ```
      local vars = kres.request_t(r):vars()
      vars.hello = true
      ```
      
      The variables are persisted between different layers for each request.
      14de9110
  6. 11 May, 2018 1 commit
    • Vladimír Čunát's avatar
      lua bindings: complete knot_pkt_t · 2bc9e15e
      Vladimír Čunát authored
      We don't need the end, but I prefer to get rid of the exception,
      as we now require libknot > 2.6 anyway and it only implies adding
      a few more binding lines.
      2bc9e15e
  7. 09 May, 2018 1 commit
  8. 23 Apr, 2018 5 commits
  9. 12 Apr, 2018 1 commit
  10. 28 Mar, 2018 1 commit
  11. 01 Mar, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · f821e688
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      f821e688
  12. 22 Feb, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · a159bab9
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      
      (cherry picked from map-alloc - commit b1b8157b94fb41)
      a159bab9
  13. 15 Feb, 2018 3 commits
  14. 31 Jan, 2018 2 commits
  15. 23 Jan, 2018 1 commit
  16. 08 Jan, 2018 1 commit
  17. 04 Jan, 2018 4 commits
  18. 21 Dec, 2017 2 commits
    • Marek Vavruša's avatar
      fixup after rebase from master · c75b1176
      Marek Vavruša authored
      c75b1176
    • Marek Vavruša's avatar
      lib/resolve: add support for per-request logging · 0a04428e
      Marek Vavruša authored
      This is useful in many troubleshooting scenarios when you want debug logs
      just for a single request. It's going to expand on TRACE flag functionality
      in the next PRs, so that special requests can be invoked with various tracers attached.
      
      Currently this is only available in the C modules that can set the callback,
      it's not called anywhere in the library yet.
      0a04428e
  19. 08 Dec, 2017 2 commits
  20. 07 Dec, 2017 1 commit
  21. 28 Nov, 2017 1 commit
  22. 24 Nov, 2017 1 commit
    • Marek Vavruša's avatar
      daemon/lua: fixed unused variables, whitespace, cleanup · 3162da83
      Marek Vavruša authored
      Also fixed improper promotion of `ffi` to global variable.
      
      ```
      $ luacheck --codes daemon/lua/
      Checking daemon/lua/config.lua                    OK
      Checking daemon/lua/kres-gen.lua                  OK
      Checking daemon/lua/kres.lua                      OK
      Checking daemon/lua/sandbox.lua                   OK
      Checking daemon/lua/trust_anchors.lua             OK
      Checking daemon/lua/zonefile.lua                  OK
      
      Total: 0 warnings / 0 errors in 6 files
      ```
      3162da83
  23. 21 Nov, 2017 1 commit