Summary
Clarify the behavior of the default HTTP/2 implementation when invalid window sizes are specified via system properties. Copy of JDK 24 CSR JDK-8342834, excluding changes in specification part - no changes in the java.net.http module-info
Problem
The current implementation does verify the range of jdk.httpclient.connectionWindowSize and jdk.httpclient.windowsize values and does not report flow control violations to the server
Solution
For these two properties, the range of valid values is verified, and the default value is applied. In addition, flow control violations will be reported to the server. This second part is an implementation detail that should be transparent to users of the API, but will be covered in a release note.
Specification
N/A. This is a behavioral change only.
- csr of
-
JDK-8351084 HttpClient: improve HTTP/2 flow control checks
-
- Open
-