changeset 4787:7d0c7bf2874d stable-1.2

Merge of r4737: r->uri_changed in a named location fix. Reset r->uri_changed in a named location (ticket #184).
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Aug 2012 15:20:03 +0000
parents 9fda024be573
children e2cc3ef93014
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 
             r->internal = 1;
             r->content_handler = NULL;
+            r->uri_changed = 0;
             r->loc_conf = (*clcfp)->loc_conf;
 
             /* clear the modules contexts */