[jdk25] RFR: 8359709: java.net.HttpURLConnection sends unexpected "Host" request header in some cases after JDK-8344190

Jaikiran Pai jpai at openjdk.org
Wed Jun 18 09:20:51 UTC 2025


Can I please get a review of this backport to JDK 25 for https://bugs.openjdk.org/browse/JDK-8359709? This fix addresses a regression that was introduced in JDK 24. The mainline fix was integrated a few mintues back through https://github.com/openjdk/jdk/pull/25844.

-------------

Commit messages:
 - Backport 57266064a7bb995c3c614c19b936687af35e9aa4

Changes: https://git.openjdk.org/jdk/pull/25867/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25867&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359709
  Stats: 147 lines in 2 files changed: 143 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/25867.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25867/head:pull/25867

PR: https://git.openjdk.org/jdk/pull/25867


More information about the net-dev mailing list