-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9
If the request includes body, when HTTP_2 client tries to access server over HTTPS, it may throw the following two exceptions:
Exception in thread "main" java.io.IOException: Queue closed
at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:113)
at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203)
at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179)
at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197)
at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154)
at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168)
at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257)
at SimpleSslTest.test(SimpleSslTest.java:37)
at SimpleSslTest.main(SimpleSslTest.java:24)
Exception in thread "main" java.io.IOException: stream closed
at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:106)
at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203)
at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179)
at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197)
at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154)
at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168)
at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257)
at SimpleSslTest.test(SimpleSslTest.java:37)
at SimpleSslTest.main(SimpleSslTest.java:24)
Exception in thread "main" java.io.IOException: Queue closed
at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:113)
at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203)
at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179)
at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197)
at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154)
at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168)
at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257)
at SimpleSslTest.test(SimpleSslTest.java:37)
at SimpleSslTest.main(SimpleSslTest.java:24)
Exception in thread "main" java.io.IOException: stream closed
at sun.net.httpclient.common.Queue.take(java.httpclient@9-internal/Queue.java:106)
at java.net.http.Stream.lambda$receiveData$1(java.httpclient@9-internal/Stream.java:203)
at java.net.http.Stream.executeInline(java.httpclient@9-internal/Stream.java:179)
at java.net.http.Stream.receiveData(java.httpclient@9-internal/Stream.java:197)
at java.net.http.Stream.readBodyAsync(java.httpclient@9-internal/Stream.java:154)
at java.net.http.Stream.readBody(java.httpclient@9-internal/Stream.java:168)
at java.net.http.Exchange.readBody(java.httpclient@9-internal/Exchange.java:132)
at java.net.http.MultiExchange.response(java.httpclient@9-internal/MultiExchange.java:155)
at java.net.http.HttpRequestImpl.response(java.httpclient@9-internal/HttpRequestImpl.java:257)
at SimpleSslTest.test(SimpleSslTest.java:37)
at SimpleSslTest.main(SimpleSslTest.java:24)