Fix mutex error in (*inFlow).connOnRead.
This commit is contained in:
@ -197,7 +197,7 @@ func (f *inFlow) connOnRead(n uint32) uint32 {
|
||||
return 0
|
||||
}
|
||||
f.mu.Lock()
|
||||
f.mu.Unlock()
|
||||
defer f.mu.Unlock()
|
||||
f.pendingData -= n
|
||||
f.pendingUpdate += n
|
||||
if f.pendingUpdate >= f.limit/4 {
|
||||
|
Reference in New Issue
Block a user