forked from quic-go/quic-go
replace the RWMutex with a Mutex in the flow controller
This commit is contained in:
@@ -15,7 +15,7 @@ type baseFlowController struct {
|
||||
lastBlockedAt protocol.ByteCount
|
||||
|
||||
// for receiving data
|
||||
mutex sync.RWMutex
|
||||
mutex sync.Mutex
|
||||
bytesRead protocol.ByteCount
|
||||
highestReceived protocol.ByteCount
|
||||
receiveWindow protocol.ByteCount
|
||||
|
||||
Reference in New Issue
Block a user