• 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
Name
Last commit
Last update
..
cookies Loading commit data...
daf Loading commit data...
detect_time_jump Loading commit data...
detect_time_skew Loading commit data...
dns64 Loading commit data...
dnstap Loading commit data...
etcd Loading commit data...
graphite Loading commit data...
hints Loading commit data...
http Loading commit data...
memcached Loading commit data...
policy Loading commit data...
predict Loading commit data...
prefill Loading commit data...
priming Loading commit data...
redis Loading commit data...
renumber Loading commit data...
serve_stale Loading commit data...
stats Loading commit data...
ta_sentinel Loading commit data...
ta_signal_query Loading commit data...
version Loading commit data...
view Loading commit data...
workarounds Loading commit data...
README.rst Loading commit data...
modules.mk Loading commit data...
rfc7706.rst Loading commit data...