Reset r->uri_changed in a named location (ticket #184).

This commit is contained in:
Maxim Dounin 2012-07-03 11:30:05 +00:00
parent a89762fe9c
commit 3484e6d21c

View File

@ -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 */