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

HTTP/2 client hangs in blocking mode if an invalid frame has been received

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b120
    • Verification:
      Verified

      Description

      If HTTP/2 server sends an invalid frame, then a client resets a stream and hangs (if no timeout was set).

      java/net/httpclient/http2/SettingsTest.java test from JDK-8157104 reproduces this.

      http://cr.openjdk.java.net/~asmotrak/8157104/webrev.00/test/java/net/httpclient/http2/SettingsTest.java.html

      SettingsTest.java fails with HttpTimeoutException since timeout was set. But it might be better if it threw an IOException which might indicate a PROTOCOL_ERROR

      https://tools.ietf.org/html/rfc7540#section-7

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelm Michael McMahon
              Reporter:
              asmotrak Artem Smotrakov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: