mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 13:42:55 +08:00
axe old flag remained after ancient "post_accept_timeout" directive
This commit is contained in:
parent
bd68d51407
commit
1bc3a93ddf
@ -990,10 +990,9 @@ ngx_http_read_request_header(ngx_http_request_t *r)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (n == NGX_AGAIN) {
|
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);
|
cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
|
||||||
ngx_add_timer(rev, cscf->client_header_timeout);
|
ngx_add_timer(rev, cscf->client_header_timeout);
|
||||||
r->header_timeout_set = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
|
if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
|
||||||
|
@ -427,8 +427,6 @@ struct ngx_http_request_s {
|
|||||||
unsigned fast_subrequest:1;
|
unsigned fast_subrequest:1;
|
||||||
unsigned subrequest_in_memory:1;
|
unsigned subrequest_in_memory:1;
|
||||||
|
|
||||||
unsigned header_timeout_set:1;
|
|
||||||
|
|
||||||
unsigned gzip:2;
|
unsigned gzip:2;
|
||||||
|
|
||||||
unsigned proxy:1;
|
unsigned proxy:1;
|
||||||
|
Loading…
Reference in New Issue
Block a user