[jdk21u-dev] RFR: 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Daniel Hu
duke at openjdk.org
Sat May 10 22:05:15 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/jdk21u-dev/pull/1770/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1770&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/jdk21u-dev/pull/1770.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1770/head:pull/1770
PR: https://git.openjdk.org/jdk21u-dev/pull/1770
More information about the jdk-updates-dev
mailing list