This commit is contained in:
Zack Scholl 2018-09-26 09:20:20 -07:00
parent 113452d459
commit 1049e9c8c8

View File

@ -167,12 +167,14 @@ func pipe(conn1 net.Conn, conn2 net.Conn) {
return
}
writer2.Write(b1)
writer2.Flush()
case b2 := <-chan2:
if b2 == nil {
return
}
writer1.Write(b2)
writer1.Flush()
}
}
}