Skip to content

Conversation

@gsnedders
Copy link
Member

This reduces the effect and frequency of #51981, where we frequently
saw timeouts from the H2 server, because we no longer repeatedly
create new threads and new queues when we receive further events after
StreamEnded, or an event with a reference to a StreamEnded.

See the state diagram in
https://httpwg.org/specs/rfc9113.html#StreamStates, noting that
receiving StreamEnded only closes the connection when the stream is in
the half-closed (local) state.

This also means we treat a stream as closed when we send/receive a
RST_STREAM frame.

This reduces the effect and frequency of web-platform-tests#51981, where we frequently
saw timeouts from the H2 server, because we no longer repeatedly
create new threads and new queues when we receive further events after
StreamEnded, or an event with a reference to a StreamEnded.

See the state diagram in
https://httpwg.org/specs/rfc9113.html#StreamStates, noting that
receiving StreamEnded only closes the connection when the stream is in
the half-closed (local) state.

This also means we treat a stream as closed when we send/receive a
RST_STREAM frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants