forked from quic-go/quic-go
never increase the flow control limit for the crypto stream
This commit is contained in:
@@ -164,7 +164,9 @@ func (s *receiveStream) readImpl(p []byte) (bool /*stream completed */, int, err
|
||||
s.flowController.AddBytesRead(protocol.ByteCount(m))
|
||||
}
|
||||
// increase the flow control window, if necessary
|
||||
s.flowController.MaybeQueueWindowUpdate()
|
||||
if s.streamID != s.version.CryptoStreamID() {
|
||||
s.flowController.MaybeQueueWindowUpdate()
|
||||
}
|
||||
|
||||
if s.readPosInFrame >= len(s.currentFrame) && s.currentFrameIsLast {
|
||||
s.finRead = true
|
||||
|
||||
Reference in New Issue
Block a user