diff --git a/socks5.go b/socks5.go index 4b67f03..cb1b858 100644 --- a/socks5.go +++ b/socks5.go @@ -141,7 +141,7 @@ func (s5 *socks5Conn) forward() { go func() { io.Copy(s5.serverConn, s5.clientConn) - c < 1 + c <- 1 }() <-c