From e92c7f15f109d0db2b3fb4d398776e5b05427b0c Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Wed, 26 Sep 2018 09:39:18 -0700 Subject: [PATCH] try fix --- src/tcp/tcp.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/tcp/tcp.go b/src/tcp/tcp.go index c2ba326..b380292 100644 --- a/src/tcp/tcp.go +++ b/src/tcp/tcp.go @@ -168,13 +168,15 @@ func pipe(conn1 net.Conn, conn2 net.Conn) { } writer2.Write(b1) writer2.Flush() + default: - // case b2 := <-chan2: - // if b2 == nil { - // return - // } - // writer1.Write(b2) - // writer1.Flush() - // } + // case b2 := <-chan2: + // if b2 == nil { + // return + // } + // writer1.Write(b2) + // writer1.Flush() + // } + } } }