Mailing List Archive

[Bug 67086] Port address is removed in HTTP2 authority header when proxy out the HTTP2 request
https://bz.apache.org/bugzilla/show_bug.cgi?id=67086

--- Comment #1 from RBK <paulrbk@gmail.com> ---
packet trace is provided.

client: 10.165.164.139
Apache Reverse proxy: 10.165.164.142
server: 10.165.164.145

(packet #10)
incoming :authority header: 10.165.164.142:8080
(packet #27)
outgoing :authority header: 10.165.164.142 <- no port info

(packet #56)
incoming :authority header: 10.165.164.142:8080
(packet #63)
outgoing :authority header: 10.165.164.142:8080 <- port info maintain

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 67086] Port address is removed in HTTP2 authority header when proxy out the HTTP2 request [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=67086

--- Comment #2 from RBK <paulrbk@gmail.com> ---
Created attachment 38939
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38939&action=edit
reference packet trace

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 67086] Port address is removed in HTTP2 authority header when proxy out the HTTP2 request [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=67086

Stefan Eissing <stefan@eissing.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #3 from Stefan Eissing <stefan@eissing.org> ---
Do you have `ProxyPreserveHost on` configured? I assume not.

If you set `LogLevel proxy_http2:trace2` we can observer what authority is
constructed from what input. The error.log then contains lines

authority=%s from uri.hostname=%s and uri.port=%d

The only way I could see the code not adding the port is when ipv6 addresses
are involved. Is that used in your setup?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org