[race]upstream_tcpping
GameXG opened this issue · 1 comments
WARNING: DATA RACE
Read by goroutine 173:
runtime.chansend()
C:/workdir/go/src/runtime/chan.go:107 +0x0
main.(_tcppingUpStream).DialTimeout.func2.3.3.1()
D:/golang/src/github.com/gamexg/TcpRoute2/upstream_tcpping.go:212 +0x10a
main.(_tcppingUpStream).DialTimeout.func2.3.3()
D:/golang/src/github.com/gamexg/TcpRoute2/upstream_tcpping.go:213 +0x46
Previous write by goroutine 311:
runtime.closechan()
C:/workdir/go/src/runtime/chan.go:295 +0x0
main.(_tcppingUpStream).DialTimeout()
D:/golang/src/github.com/gamexg/TcpRoute2/upstream_tcpping.go:244 +0xd5f
main.(_hSocksHandle).handleSocks5()
D:/golang/src/github.com/gamexg/TcpRoute2/handler_socks.go:162 +0x10f0
main.(_hSocksHandle).Handle()
D:/golang/src/github.com/gamexg/TcpRoute2/handler_socks.go:73 +0x2ab
main.(_Server).handlerConn()
D:/golang/src/github.com/gamexg/TcpRoute2/server.go:121 +0x65e
Goroutine 173 (running) created at:
time.goFunc()
C:/workdir/go/src/time/sleep.go:129 +0x74
Goroutine 311 (finished) created at:
main.(_Server).Server()
D:/golang/src/github.com/gamexg/TcpRoute2/server.go:95 +0x3f5
main.(_Server).ListAndServe()
D:/golang/src/github.com/gamexg/TcpRoute2/server.go:67 +0x14d
main.main()
D:/golang/src/github.com/gamexg/TcpRoute2/main.go:62 +0xcda
已做保护。