aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-01-08 20:55:27 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-01-08 20:55:27 +0000
commit1bc3a93ddf4aeaae55de5edbee465a16fba1940b (patch)
treea34e4c81c53833808d18a98007e7683e08e4bf70 /src/http/ngx_http_request.c
parentbd68d5140774044d55262177b1d533bd2e569463 (diff)
downloadnginx-1bc3a93ddf4aeaae55de5edbee465a16fba1940b.tar.gz
nginx-1bc3a93ddf4aeaae55de5edbee465a16fba1940b.zip
axe old flag remained after ancient "post_accept_timeout" directive
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index b3eab7e24..03dc68bdf 100644
--- 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_request_t *r)
}
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) {