luci/modules/luci-lua-runtime
Jo-Philipp Wich a1ee78fa69 luci-lua-runtime: proxy all dispatcher context property accesses
The ucode side dispatcher environment might not be fully populated yet
when the emulated Lua dispatcher is loaded, leading to `context.requested`
and some other properties to be `nil`.

Expose all properties through metatable `__index` lookups instead to
ensure that the Lua side dispatcher always sees the latest values.

Fixes: #6100
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-11-15 19:49:05 +01:00
..
luasrc luci-lua-runtime: proxy all dispatcher context property accesses 2022-11-15 19:49:05 +01:00
src treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
Makefile luci.mk: automatically depend on luci-lua-runtime 2022-10-25 01:03:37 +02:00