From: Maxim Dounin Date: Tue, 3 Jul 2012 11:30:05 +0000 (+0000) Subject: Reset r->uri_changed in a named location (ticket #184). X-Git-Tag: release-1.3.3~15 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=3484e6d21ca231b32ac6bac86d0c61c92b6b07e8;p=nginx.git Reset r->uri_changed in a named location (ticket #184). --- diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 5bb01d9ea..6d7dc0abe 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2588,6 +2588,7 @@ ngx_http_named_location(ngx_http_request_t *r, ngx_str_t *name) r->internal = 1; r->content_handler = NULL; + r->uri_changed = 0; r->loc_conf = (*clcfp)->loc_conf; /* clear the modules contexts */