On Tue, 10 Nov 2026 15:11:02 GMT, Roland Mesde <[email protected]> wrote:
> 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/12/2026): > > [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/34759276/macos-aarch64-specific-test.log) > [windows-x64-specific-test.log](https://github.com/user-attachments/files/34767261/windows-x64-specific-test.log) > [linux-x64-specific-test.log](https://github.com/user-attachments/files/34767262/linux-x64-specific-test.log) > [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/34767263/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). This pull request has now been integrated. Changeset: 5382e9e1 Author: Roland Mesde <[email protected]> Committer: Daniel Fuchs <[email protected]> URL: https://git.openjdk.org/jdk/commit/5382e9e1fe1528b3b2d76531417c5ef1a163d4ab Stats: 377 lines in 6 files changed: 334 ins; 25 del; 18 mod 8396170: MalformedFrame.errorStream is unused Reviewed-by: djelinski ------------- PR: https://git.openjdk.org/jdk/pull/33824
