]> git.kaiwu.me - nginx.git/commit
HTTP: removed unused r->port_start and r->port_end.
authorVladimir Khomutov <vl@wbsrv.ru>
Tue, 28 Nov 2023 09:57:14 +0000 (12:57 +0300)
committerVladimir Khomutov <vl@wbsrv.ru>
Tue, 28 Nov 2023 09:57:14 +0000 (12:57 +0300)
commit0db94ba96a00ebfc4a3c55af8eaaf20f971a7c4c
tree2a351f0f9323395b8ec3a67d7d434f035d8bd4cc
parentf9a25736fd049075baf76a35628d2351b20f8ab8
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).
src/http/ngx_http_parse.c
src/http/ngx_http_request.c
src/http/ngx_http_request.h