Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351085

HttpClient: improve HTTP/2 flow control checks

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Unresolved
    • Icon: P4 P4
    • 11-pool, 17-pool
    • core-libs
    • None

      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.

            abakhtin Alexey Bakhtin
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: