mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-04-24 12:18:07 +08:00
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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user