Syntax: | lingering_close
|
---|---|
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.
Please login to continue.