lingering_close

Syntax: lingering_close off | on | always;
Default: lingering_close on;
Context: http, server, location

This directive appeared in versions 1.1.0 and 1.0.6.

Controls how nginx closes client connections.

The default value “on” instructs nginx to wait for and process additional data from a client before fully closing a connection, but only if heuristics suggests that a client may be sending more data.

The value “always” will cause nginx to unconditionally wait for and process additional client data.

The value “off” tells nginx to never wait for more data and close the connection immediately. This behavior breaks the protocol and should not be used under normal circumstances.

doc_nginx
2017-02-09 07:06:49
Comments
Leave a Comment

Please login to continue.