[jdk21u-dev] Integrated: 8314978: Multiple server call from connection failing with expect100 in getOutputStream

Daniel Hu duke at openjdk.org
Fri Jun 6 16:37:05 UTC 2025


On Fri, 9 May 2025 16:36:06 GMT, Daniel Hu <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: a71783b1
Author:    Daniel Hu <costmuch at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/a71783b1b300d461306fffe75b68c1f4eaafa0fd
Stats:     268 lines in 2 files changed: 268 ins; 0 del; 0 mod

8314978: Multiple server call from connection failing with expect100 in getOutputStream

Backport-of: 460ebcd9cb94867608e22e07092bd1cf33228700

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1770


More information about the jdk-updates-dev mailing list