recv_reset resets closed streams with queued EOS frames (#247)

This commit is contained in:
Eliza Weisman
2018-03-27 21:20:16 -07:00
committed by Carl Lerche
parent e61788a57f
commit 23090c9fed
4 changed files with 73 additions and 3 deletions

View File

@@ -575,7 +575,8 @@ impl Prioritize {
loop {
match self.pending_send.pop(store) {
Some(mut stream) => {
trace!("pop_frame; stream={:?}", stream.id);
trace!("pop_frame; stream={:?}; stream.state={:?}",
stream.id, stream.state);
// If the stream receives a RESET from the peer, it may have
// had data buffered to be sent, but all the frames are cleared