nx@nginx.org
> > Subject: Nginx logging phase
> > Message-ID:
> > > qod30qg...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > I'm writing an Nginx plugin (using Openresty Lua) which increments a
> > counter when a requ
enresty Lua) which increments a
> counter when a request is received (in ACCESS phase) and decrements the
> counter when request is processed (in LOG phase) in order to keep track of
> in-flight requests.
>
> I've seen some cases where the
Am 25.10.20 um 12:20 schrieb Francis Daly:
> map $remote_addr $this_transport_is {
> ~: IPv6;
> default IPv4;
> }
>
> and then use $this_transport_is where you want it.
>
> (Note: I have tested this with
>
> return 200 "Transport: $this_transport_is\n";
>
> but I have not tried
Hello!
On Wed, Oct 28, 2020 at 02:14:40PM +0530, Vikas Kumar wrote:
> I'm writing an Nginx plugin (using Openresty Lua) which increments a
> counter when a request is received (in ACCESS phase) and decrements the
> counter when request is processed (in LOG phase) in order to keep track of
> in-fl
On Wed, Oct 28, 2020 at 12:28:04AM -0400, bouvierh wrote:
Hi there,
it looks to me like you've come across a case that the current nginx
code does not handle in the way that you want it to.
Maybe the nginx code could be changed to handle this case; or maybe it
will be decided that what nginx doe
I'm writing an Nginx plugin (using Openresty Lua) which increments a
counter when a request is received (in ACCESS phase) and decrements the
counter when request is processed (in LOG phase) in order to keep track of
in-flight requests.
I've seen some cases where the counter increments but does not