RFR: 8359709: java.net.HttpURLConnection sends unexpected "Host" request header in some cases after JDK-8344190 [v3]
Michael McMahon
michaelm at openjdk.org
Wed Jun 18 08:33:34 UTC 2025
On Wed, 18 Jun 2025 08:27:32 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
> I'm trying to understand how this regression happened. I was looking at the code change for https://bugs.openjdk.org/browse/JDK-8344190 at https://openjdk.github.io/cr/?repo=jdk&pr=22232&range=01#sdiff-4-src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java and I can't see how it happened. The change looks pretty innocuous..?
Never mind. I see it's explained clearly in the bug report.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25844#issuecomment-2983221435
More information about the net-dev
mailing list