forked from quic-go/quic-go
use FlowControlManager in Stream for Reading data
This commit is contained in:
@@ -161,10 +161,3 @@ func (c *flowController) CheckFlowControlViolation() bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *flowController) GetHighestReceived() protocol.ByteCount {
|
||||
c.mutex.RLock()
|
||||
defer c.mutex.RUnlock()
|
||||
|
||||
return c.highestReceived
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user