mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
do not send RST on normal lingering close read timeout,
if reset_timedout_connection is on patch by Maxim Dounin
This commit is contained in:
parent
bd7dfe44c5
commit
41c8a1d27f
@ -2773,7 +2773,6 @@ ngx_http_lingering_close_handler(ngx_event_t *rev)
|
|||||||
"http lingering close handler");
|
"http lingering close handler");
|
||||||
|
|
||||||
if (rev->timedout) {
|
if (rev->timedout) {
|
||||||
c->timedout = 1;
|
|
||||||
ngx_http_close_request(r, 0);
|
ngx_http_close_request(r, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user