Skip to content
Snippets Groups Projects
  1. May 31, 2018
  2. May 30, 2018
    • 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
  3. May 29, 2018
  4. May 28, 2018
  5. May 25, 2018
  6. May 24, 2018
  7. May 19, 2018
  8. May 16, 2018
  9. May 11, 2018