Integrated: 8254802: ThrowingPushPromisesAsStringCustom.java fails in "try throwing in GET_BODY"

Daniel Fuchs dfuchs at openjdk.java.net
Mon Dec 7 10:01:17 UTC 2020


On Wed, 2 Dec 2020 17:00:07 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Hi,
> 
> Please find below a fix that fixes an issue in Http2TestServerConnection - where the 
> connection will be closed by the test server if the test server receives a RESET from the client
> after the stream has been closed.
> 
> This issue has made the ThrowingPushPromisesAsStringCustom test fail from time to time, but
> the debug traces have eventually revealed what was the issue:
> 
> DEBUG: [readLoop] [818ms] FramesDecoder Got frame: RESET: length=4, streamid=24, flags=0 Error: Stream cancelled
> TestServer: Unexpected frame on: 24
> RESET: length=4, streamid=24, flags=0 Error: Stream cancelled
> Http server reader thread shutdown
> java.io.IOException: Unexpected frame
> at Http2TestServerConnection.readLoop(Http2TestServerConnection.java:776)
> at Http2TestServerConnection$ConnectionThread.run(Http2TestServerConnection.java:438)
> Server connection to /127.0.0.1:39830 stopping. 5 streams

This pull request has now been integrated.

Changeset: 566d77a2
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/566d77a2
Stats:     20 lines in 1 file changed: 20 ins; 0 del; 0 mod

8254802: ThrowingPushPromisesAsStringCustom.java fails in "try throwing in GET_BODY"

Reviewed-by: michaelm

-------------

PR: https://git.openjdk.java.net/jdk/pull/1567


More information about the net-dev mailing list