limit_conn not working

Maxim Dounin mdounin at mdounin.ru
Tue Dec 19 20:34:23 UTC 2017


Hello!

On Tue, Dec 19, 2017 at 09:17:33PM +0300, Maxim Dounin wrote:

> On Tue, Dec 19, 2017 at 06:03:46PM +0100, Abilio Marques wrote:
> 
> > For me the documentation reads in a way in which a connection with
> > keep-alive that already received one request satisfies those two conditions:
> > - It has a request processed by the server. (processed is past tense, which
> > is true after the first one was made)
> > - The whole request has already been read.
> > 
> > While the actual behavior is: it has a request "being" processed by the
> > server and the whole request header has already been read. Once the request
> > is completely processed it doesn't count anymore.
> 
> Yes, thanks, this needs fixing.  I'll take care of this.

Should be fixed now, 
http://hg.nginx.org/nginx.org/rev/4931a7ba6a32.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list