diff options
author | Zhidao HONG <z.hong@f5.com> | 2024-04-10 14:00:39 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2024-04-11 22:23:23 +0800 |
commit | a4dbee147cc13c9eef1f6cb209b4651a1419d17d (patch) | |
tree | d9bb5a43b2cfad03cbb29f06aeef5931834c7ee1 /src/test/nxt_http_parse_test.c | |
parent | 64934e59f9c06f62fe99466b320cd397c8609807 (diff) | |
download | unit-a4dbee147cc13c9eef1f6cb209b4651a1419d17d.tar.gz unit-a4dbee147cc13c9eef1f6cb209b4651a1419d17d.tar.bz2 |
HTTP: Rewrote url target section in nxt_h1p_peer_header_send()
Previously, proxy request was constructed based on the `r->target`
field. However, r->target will remain unchanged in the future,
even in cases of URL rewriting because of the requirement change
for $request_uri that will be changed to constant.
To accommodate this, the r->target should be designed to be constant,
but Unit needs to pass a changeable URL to the upstream server.
Based on the above, the proxy module can't depend on r->target.
Diffstat (limited to 'src/test/nxt_http_parse_test.c')
0 files changed, 0 insertions, 0 deletions