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

Daniel Hu duke at openjdk.org
Thu Jun 26 17:34:38 UTC 2025


On Mon, 9 Jun 2025 21:40:03 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: 183b9a0a
Author:    Daniel Hu <costmuch at amazon.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/183b9a0ab4d6d37d120ea239cac61d6bbd6a7d43
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/jdk17u-dev/pull/3629


More information about the jdk-updates-dev mailing list