diff --git a/proxy/io.go b/proxy/io.go index 3b8fb2a..340c5f7 100644 --- a/proxy/io.go +++ b/proxy/io.go @@ -129,11 +129,11 @@ REPEAT: goto REPEAT case *udpBridgeConn: srcConn = src.(*udpBridgeConn) - case net.Conn: - srcConn = src.(net.Conn) case *tcpmux.Stream: // Stream has its own management of timeout return + case net.Conn: + srcConn = src.(net.Conn) default: return }