]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
Changed interface of ngx_http_validate_host().
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 5 Nov 2025 12:15:12 +0000 (16:15 +0400)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Wed, 26 Nov 2025 15:51:40 +0000 (19:51 +0400)
commit6446f99107fff83469145b16983ebec99261a2db
tree0936fa0668aeab030baa8018e0314c4d05fad79b
parent511abb19e1e1b127f6d0943ccac346211a490a35
Changed interface of ngx_http_validate_host().

This allows to process a port subcomponent and save it in r->port
in a unified way, similar to r->headers_in.server.  For HTTP/1.x
request line in the absolute form, r->host_end now includes a port
subcomponent, which is also consistent with HTTP/2 and HTTP/3.
src/http/ngx_http.h
src/http/ngx_http_parse.c
src/http/ngx_http_request.c
src/http/v2/ngx_http_v2.c
src/http/v3/ngx_http_v3_request.c