comparison 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
comparison
equal deleted inserted replaced
9186:f366007dd23a 9187:dacad3a9c7b8
1731 if (r->host_start) { 1731 if (r->host_start) {
1732 r->host_start = new + (r->host_start - old); 1732 r->host_start = new + (r->host_start - old);
1733 if (r->host_end) { 1733 if (r->host_end) {
1734 r->host_end = new + (r->host_end - old); 1734 r->host_end = new + (r->host_end - old);
1735 } 1735 }
1736 }
1737
1738 if (r->port_start) {
1739 r->port_start = new + (r->port_start - old);
1740 r->port_end = new + (r->port_end - old);
1741 } 1736 }
1742 1737
1743 if (r->uri_ext) { 1738 if (r->uri_ext) {
1744 r->uri_ext = new + (r->uri_ext - old); 1739 r->uri_ext = new + (r->uri_ext - old);
1745 } 1740 }