Hi guys!
As some of you have already noticed, I've been hacking a lot on the
new ngx_stream_lua_module, which is a port of the existing
ngx_http_lua_module for the new "stream" subsystem of NGINX:
https://github.com/openresty/stream-lua-nginx-module
Basically your OpenResty applications can now speak arbitrary TCP
protocols to the downstream clients with some minor modifications..
The Lua API and NGINX configuration directives are kept compatible
with ngx_http_lua_module by intention.
Almost all the Lua APIs supported by ngx_http_lua that make sense in
the "stream" context are ported. There are some missing bits
documented in the TODO section of README:
https://github.com/openresty/stream-lua-nginx-module#todo
Eventually this module will become part of the OpenResty bundle and
will be enabled by default.
Please try this module out by adding it to your OpenResty
installations or NGINX installations by passing the
--add-module=/path/to/stream-lua-nginx-module option to your
./configure command line.
Any feedback and bug reports will be highly appreciated. Thanks in advance!
Have fun!
Best regards,
-agentzh