diff src/http/ngx_http_request.c @ 1856:11d12ef106a9

axe old flag remained after ancient "post_accept_timeout" directive
author Igor Sysoev <igor@sysoev.ru>
date Tue, 08 Jan 2008 20:55:27 +0000
parents 877cb2007c24
children 1ff400fed04d
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -990,10 +990,9 @@ ngx_http_read_request_header(ngx_http_re
     }
 
     if (n == NGX_AGAIN) {
-        if (!r->header_timeout_set) {
+        if (!rev->timer_set) {
             cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
             ngx_add_timer(rev, cscf->client_header_timeout);
-            r->header_timeout_set = 1;
         }
 
         if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {