From: Igor Sysoev Date: Wed, 24 Dec 2008 07:14:01 +0000 (+0000) Subject: flush variable values in try_files X-Git-Tag: release-0.7.29~3 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=195860b74d04078a5e093439c7dbf5cf56e63966;p=nginx.git flush variable values in try_files --- diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index e28197356..a7a5cdb4c 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1082,7 +1082,6 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r, e.ip = tf->lengths->elts; e.request = r; - e.flushed = 1; /* 1 is for terminating '\0' as in static names */ len = 1; @@ -1127,6 +1126,7 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r, } else { e.ip = tf->values->elts; e.pos = name; + e.flushed = 1; while (*(uintptr_t *) e.ip) { code = *(ngx_http_script_code_pt *) e.ip;