> This PR makes the HTTP2 client use MalformedFrame.errorStream. A PRIORITY 
> frame with an invalid length resets its stream (based on RFC 9113) instead of 
> closing the connection. In addition, invalid ALTSVC frames are now skipped, 
> and the unused variables (prepareToRelease, slicedToDataFrame) and method 
> (frameProcessed) were removed from FramesDecoder.
> 
> Low risk - affects handling of malformed PRIORITY and ALTSVC frames.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/java/net/httpclient
> 
> Results (updated 11/11/2026):
> 
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/34702755/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/34702756/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/34702757/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/34702758/linux-aarch64-specific-test.log)
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Roland Mesde has updated the pull request incrementally with one additional 
commit since the last revision:

  Feedback from @djelinski V01

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33824/files
  - new: https://git.openjdk.org/jdk/pull/33824/files/ad4b0ff1..9cdcab45

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33824&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33824&range=02-03

  Stats: 30 lines in 4 files changed: 4 ins; 17 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/33824.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33824/head:pull/33824

PR: https://git.openjdk.org/jdk/pull/33824

Reply via email to