meta-lua-nginx-module icon indicating copy to clipboard operation
meta-lua-nginx-module copied to clipboard

can we share the shdict between http module and stream module

Open rainingmaster opened this issue 7 years ago • 3 comments
trafficstars

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

rainingmaster avatar Apr 22 '18 04:04 rainingmaster

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?

turbo avatar Jul 01 '19 20:07 turbo

Here is my proposal: https://github.com/openresty/meta-lua-nginx-module/pull/76

thibaultcha avatar Apr 01 '20 21:04 thibaultcha

Do you have time to merge this PR. @agentzh

stallion5632 avatar May 07 '20 02:05 stallion5632