You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Streams::recv_go_away is called, Recv::handle_error is called
on every stream whose stream id is past the GO_AWAY's last stream id,
and those streams may have been pending-accepting.
If the stream had not encountered an error before, Recv::handle_error
then sets its state to State::Closed(Error::GoAway(_, _, Initiator::Remote))
which makes State::is_remote_reset return true in Streams::next_incoming,
which leads to Counts::dec_remote_reset_streams being called even though
Counts::inc_remote_reset_streams was never called for that stream,
causing a panic about the counter being 0.
0 commit comments