recv_reset resets closed streams with queued EOS frames (#247)
This commit is contained in:
committed by
Carl Lerche
parent
e61788a57f
commit
23090c9fed
@@ -590,7 +590,7 @@ impl Recv {
|
||||
/// Handle remote sending an explicit RST_STREAM.
|
||||
pub fn recv_reset(&mut self, frame: frame::Reset, stream: &mut Stream) {
|
||||
// Notify the stream
|
||||
stream.state.recv_reset(frame.reason());
|
||||
stream.state.recv_reset(frame.reason(), stream.is_pending_send);
|
||||
|
||||
stream.notify_send();
|
||||
stream.notify_recv();
|
||||
|
||||
Reference in New Issue
Block a user