mirror of
https://github.com/fatedier/frp.git
synced 2025-06-16 16:28:23 +00:00
Merge 3507c17084642ffc3dabc04acc03b7c32b1a6f73 into f1fb2d721a901cd1e91368f0a5f8b9618bb530c3
This commit is contained in:
commit
99e9fa3e0f
@ -254,8 +254,8 @@ func (pw *Wrapper) statusFailedCallback() {
|
||||
func (pw *Wrapper) InWorkConn(workConn net.Conn, m *msg.StartWorkConn) {
|
||||
xl := pw.xl
|
||||
pw.mu.RLock()
|
||||
defer pw.mu.RUnlock()
|
||||
pxy := pw.pxy
|
||||
pw.mu.RUnlock()
|
||||
if pxy != nil && pw.Phase == ProxyPhaseRunning {
|
||||
xl.Debugf("start a new work connection, localAddr: %s remoteAddr: %s", workConn.LocalAddr().String(), workConn.RemoteAddr().String())
|
||||
go pxy.InWorkConn(workConn, m)
|
||||
|
Loading…
x
Reference in New Issue
Block a user