fix: ensure peekMutex is locked before handleSocket
This commit is contained in:
parent
40ae019e1d
commit
5e7d644efd
@ -469,6 +469,8 @@ func handleTCPConn(connCtx C.ConnContext) {
|
||||
)
|
||||
}
|
||||
|
||||
peekMutex.Lock()
|
||||
defer peekMutex.Unlock()
|
||||
handleSocket(connCtx, remoteConn)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user