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() + // } + } } }