aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-07-03 11:30:05 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-07-03 11:30:05 +0000
commit3484e6d21ca231b32ac6bac86d0c61c92b6b07e8 (patch)
tree5319e87c8d5d30a2430223120853a2483ddf11a5 /src/http/ngx_http_core_module.c
parenta89762fe9c2601d1d8dc35c8a7d27b220387e7a2 (diff)
downloadnginx-3484e6d21ca231b32ac6bac86d0c61c92b6b07e8.tar.gz
nginx-3484e6d21ca231b32ac6bac86d0c61c92b6b07e8.zip
Reset r->uri_changed in a named location (ticket #184).
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c1
1 files changed, 1 insertions, 0 deletions
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 */