From f7fdbb629f04f198b0e990e8289c1053a548e80c Mon Sep 17 00:00:00 2001 From: wweir Date: Wed, 28 Nov 2018 20:19:59 +0800 Subject: [PATCH] Update client.go --- proxy/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/client.go b/proxy/client.go index 268d371..4f8977a 100644 --- a/proxy/client.go +++ b/proxy/client.go @@ -65,7 +65,7 @@ func openStream(conn net.Conn, sess quic.Session, reDialCh chan<- net.Conn) bool }() select { - case _, ok := <-okCh: // true means close on error + case _, ok := <-okCh: // false means close on error return ok case <-time.After(time.Second): return false