Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 9187:dacad3a9c7b8
HTTP: removed unused r->port_start and r->port_end.
Neither r->port_start nor r->port_end were ever used.
The r->port_end is set by the parser, though it was never used by
the following code (and was never usable, since not copied by the
ngx_http_alloc_large_header_buffer() without r->port_start set).
author | Vladimir Khomutov <vl@wbsrv.ru> |
---|---|
date | Tue, 28 Nov 2023 12:57:14 +0300 |
parents | 0aaa09927703 |
children | b05c622715fa |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Tue Nov 14 15:26:02 2023 +0400 +++ b/src/http/ngx_http_request.c Tue Nov 28 12:57:14 2023 +0300 @@ -1735,11 +1735,6 @@ } } - if (r->port_start) { - r->port_start = new + (r->port_start - old); - r->port_end = new + (r->port_end - old); - } - if (r->uri_ext) { r->uri_ext = new + (r->uri_ext - old); }