[jdk11u-dev] RFR: 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Daniel Hu
duke at openjdk.org
Thu Jun 26 18:00:55 UTC 2025
Clean backport. Fixes HttpURLConnection making needless server calls when using a method using internal getOutputStream() after expect100Continue() has already thrown an exception from a non 100 status response. New test passes with the change and fails without it. Passes GHA.
-------------
Commit messages:
- Backport 460ebcd9cb94867608e22e07092bd1cf33228700
Changes: https://git.openjdk.org/jdk11u-dev/pull/3055/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3055&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314978
Stats: 268 lines in 2 files changed: 268 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3055.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3055/head:pull/3055
PR: https://git.openjdk.org/jdk11u-dev/pull/3055
More information about the jdk-updates-dev
mailing list