Welcome! Log In Create A New Profile

Advanced

Re: Stream Module Variables

Yichun Zhang (agentzh)
February 03, 2016 07:14PM
Hello!

On Wed, Feb 3, 2016 at 3:37 PM, SplitIce wrote:
> I have been taking a look at the Stream modules for use in a particular
> application. I noticed the entire subsystem lacks any variable support.
>
> Is variable support planned?
> Is there a significant reason for the omission?
>

+1

I'm also looking forward to NGINX variable support in the "stream" subsystem.

I'm currently emulating some of the builtin NGINX variables of the
"http" subsystem in my ngx_stream_lua_module on the Lua land, like
$pid, $connection, $remote_addr, $server_addr, and etc:

https://github.com/openresty/stream-lua-nginx-module#nginx-api-for-lua

Actually I'm also looking for "send_timeout", "send_lowat",
"resolver", "resolver_timeout", "lingering_close", "lingering_time",
"lingering_timeout", "postpone_output" and etc directives in the
stream {} context so that each of my stream typed NGINX modules do not
have to re-invent these over and over again.

Best regards,
-agentzh

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Stream Module Variables

splitice 922 February 03, 2016 06:38PM

Re: Stream Module Variables

Yichun Zhang (agentzh) 416 February 03, 2016 07:14PM

Re: Stream Module Variables

splitice 736 February 03, 2016 07:16PM

Re: Stream Module Variables

Maxim Konovalov 460 February 04, 2016 04:32AM

Re: Stream Module Variables

itpp2012 581 February 04, 2016 05:55AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready