[jdk17u-dev] RFR: 8301255: Http2Connection may send too many GOAWAY frames

Goetz Lindenmaier goetz at openjdk.org
Fri Jun 27 11:03:08 UTC 2025


I backport this for parity with 17.0.17-oracle.

Omitted copyrights as files already have younger ones.

Resolved two chunks in Http2Connection because later change
"8328286: Enhance HTTP client" was already backported.

In shutdown(Throwable) that change added line
        cause.compareAndSet(null, t);
messing up the context.
Also, it removed the line
        if (initialCause == null) this.cause = t;
this change intends to edit, so I omitted this edit.

In protocolError(int, String) "8328286: Enhance HTTP client" added some
code that needs to go into the if() added by this change.
Resolved. so that it is the same as in 21.

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

Commit messages:
 - Backport 041a12e65530b5832b4a500180c97a2a60e0dc51

Changes: https://git.openjdk.org/jdk17u-dev/pull/3686/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3686&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301255
  Stats: 106 lines in 3 files changed: 73 ins; 5 del; 28 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3686.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3686/head:pull/3686

PR: https://git.openjdk.org/jdk17u-dev/pull/3686


More information about the jdk-updates-dev mailing list