]> git.kaiwu.me - nginx.git/commitdiff
do not send RST on normal lingering close read timeout,
authorIgor Sysoev <igor@sysoev.ru>
Mon, 1 Aug 2011 13:08:03 +0000 (13:08 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 1 Aug 2011 13:08:03 +0000 (13:08 +0000)
if reset_timedout_connection is on

patch by Maxim Dounin

src/http/ngx_http_request.c

index 3a21111fad71c859b119d8d663472b15d0ae0fe2..bcd5eb827a09308e33b4152266fee218babd75e0 100644 (file)
@@ -2773,7 +2773,6 @@ ngx_http_lingering_close_handler(ngx_event_t *rev)
                    "http lingering close handler");
 
     if (rev->timedout) {
-        c->timedout = 1;
         ngx_http_close_request(r, 0);
         return;
     }