aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process_cycle.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2017-11-20 21:11:19 +0300
committerRoman Arutyunyan <arut@nginx.com>2017-11-20 21:11:19 +0300
commit891908cd0cdf72fca7d4b3de4a8a6fa3602e5cf7 (patch)
tree127e544971b45a1056e95894eda9c97ae285b153 /src/os/unix/ngx_process_cycle.c
parentde11c2ad09286fe728b357a41543f3ba219f8986 (diff)
downloadnginx-891908cd0cdf72fca7d4b3de4a8a6fa3602e5cf7.tar.gz
nginx-891908cd0cdf72fca7d4b3de4a8a6fa3602e5cf7.zip
Inherit valid_unparsed_uri in cloned subrequests (ticket #1430).
Inheriting this flag will make the cloned subrequest behave consistently with the parent. Specifically, the upstream HTTP request and cache key created by the proxy module may depend directly on unparsed_uri if valid_unparsed_uri flag is set. Previously, the flag was zero for cloned requests, which could make background update proxy a request different than its parent and cache the result with a different key. For example, if client URI contained the escaped slash character %2F, it was used as is by the proxy module in the main request, but was unescaped in the subrequests. Similar problems exist in the slice module.
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
0 files changed, 0 insertions, 0 deletions