diff --git a/proxy/socks/tcp.go b/proxy/socks/tcp.go index 21a55ea..35b05f7 100644 --- a/proxy/socks/tcp.go +++ b/proxy/socks/tcp.go @@ -55,7 +55,6 @@ func (h *tcpHandler) relay(localConn, remoteConn net.Conn) { closeOnce() } else { localConn.SetDeadline(time.Now()) - remoteConn.SetDeadline(time.Now()) tcpCloseRead(remoteConn) } wg.Done() @@ -66,7 +65,6 @@ func (h *tcpHandler) relay(localConn, remoteConn net.Conn) { closeOnce() } else { localConn.SetDeadline(time.Now()) - remoteConn.SetDeadline(time.Now()) tcpCloseRead(localConn) }