limit_conn not working
abiliojr at gmail.com
Tue Dec 19 17:03:46 UTC 2017
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.
On Tue, Dec 19, 2017 at 4:37 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> On Tue, Dec 19, 2017 at 03:29:22PM +0100, Abilio Marques wrote:
> > I imagined to be something like that, but this is not obvious from the
> > documentation. Is there a way to clarify it for future readers?
> The documentation already says
> : Not all connections are counted. A connection is counted only if
> : it has a request processed by the server and the whole request
> : header has already been read.
> in an attempt to clarify things. This is more or less identical
> to what I wrote. The difference is recommendations on how to
> better trigger the limit, but I doubt such recommendations should
> be in the documentation.
> Maxim Dounin
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx