diff options
| author | Zoey <zoey@z0ey.de> | 2026-04-05 11:31:15 +0200 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2026-04-06 14:53:54 +0400 |
| commit | 067d766f210ee914b750d79d9284cbf8801058f3 (patch) | |
| tree | 3afe3c94fc3f35843f5437a29d7a581f6b48404b | |
| parent | 365694160a85229a7cb006738de9260d49ff5fa2 (diff) | |
| download | nginx-067d766f210ee914b750d79d9284cbf8801058f3.tar.gz nginx-067d766f210ee914b750d79d9284cbf8801058f3.tar.bz2 | |
Fix $request_port and $is_request_port in subrequests
Closes #1247.
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0c46106db..53ddf39bb 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2453,6 +2453,8 @@ ngx_http_subrequest(ngx_http_request_t *r, sr->method = NGX_HTTP_GET; sr->http_version = r->http_version; + sr->port = r->port; + sr->request_line = r->request_line; sr->uri = *uri; |
