mirror of
https://github.com/nginx/nginx.git
synced 2026-06-25 19:37:00 +00:00
set r->root_tested for non-error_page response only
This commit is contained in:
parent
1b8267cea2
commit
f1bde24720
3 changed files with 3 additions and 3 deletions
|
|
@ -160,7 +160,7 @@ ngx_http_flv_handler(ngx_http_request_t *r)
|
|||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
r->root_tested = 1;
|
||||
r->root_tested = !r->error_page;
|
||||
|
||||
start = 0;
|
||||
len = of.size;
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ ngx_http_gzip_static_handler(ngx_http_request_t *r)
|
|||
|
||||
#endif
|
||||
|
||||
r->root_tested = 1;
|
||||
r->root_tested = !r->error_page;
|
||||
|
||||
rc = ngx_http_discard_request_body(r);
|
||||
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ ngx_http_static_handler(ngx_http_request_t *r)
|
|||
return rc;
|
||||
}
|
||||
|
||||
r->root_tested = 1;
|
||||
r->root_tested = !r->error_page;
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue