Hello!
On Wed, Apr 29, 2015 at 3:20 AM, Simon Hørup Eskildsen wrote:
> Hello everyone, with the recent addition to the open source Nginx of TCP
> support (http://hg.nginx.org/nginx/rev/61d7ae76647d)
Yeah for the new stream world! It opens the door for general
TCP/stream server programming.
> I'm curious whether
> anyone has been working on getting some of Openresty to play well with it,
> e.g. the community module for health checks which is not part of the open
> source distribution. Is support for it planned in lua-nginx?
My hunch is that we can create an ngx_stream_lua_module outside of our
existing ngx_http_lua_module. This paves a way for downstream TCP
support of OpenResty. This TODO item of ngx_lua can finally be
materialized :)
The existing ngx_http_lua_module can only be used in the context of
the http {} configuration block. For stream {} blocks, we need
ngx_stream_lua_module :)
I'm curious whether the nginx team is also planning a datagram {}
configuration block for general UDP/datagram downstream
communications. Anyone knows?
I'll need a closer look at this new 1.9.x feature when I'm back from
my long vacation. (Yeah, I'm still on vacation in China *grin*)
Best regards,
-agentzh