meta-lua-nginx-module
meta-lua-nginx-module copied to clipboard
can we share the shdict between http module and stream module
Can we use ngx_*_lua_shdict as a third party moduel, which applies for shdict from nginx. We can uses FFI to share memory to http module and stream module, instead of http or stream using its own memory only
This is a dupe of https://github.com/openresty/stream-lua-nginx-module/pull/36 and a few others. However, that PR doesn't work anymore.
I too really, really need this, even if it's hacky for the moment. @agentzh even if this is not (contrary to your statement in link above) on the roadmap, how can one achieve this today?
Here is my proposal: https://github.com/openresty/meta-lua-nginx-module/pull/76
Do you have time to merge this PR. @agentzh