forked from quic-go/quic-go
don't send BlockedFrames after sending the FinBit for a stream
fixes #333
This commit is contained in:
@@ -119,7 +119,7 @@ func (f *streamFramer) maybePopNormalFrames(maxBytes protocol.ByteCount) (res []
|
||||
if f.flowControlManager.RemainingConnectionWindowSize() == 0 {
|
||||
// We are now connection-level FC blocked
|
||||
f.blockedFrameQueue = append(f.blockedFrameQueue, &frames.BlockedFrame{StreamID: 0})
|
||||
} else if sendWindowSize-frame.DataLen() == 0 {
|
||||
} else if !frame.FinBit && sendWindowSize-frame.DataLen() == 0 {
|
||||
// We are now stream-level FC blocked
|
||||
f.blockedFrameQueue = append(f.blockedFrameQueue, &frames.BlockedFrame{StreamID: s.StreamID()})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user