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 fromJDK-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
java/net/httpclient/http2/SettingsTest.java test from
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
- relates to
-
JDK-8157104 A couple of possible runtime errors in HTTP/2 client implementation
- Closed