mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
try fix
This commit is contained in:
parent
3fc8edfef9
commit
e92c7f15f1
1 changed files with 9 additions and 7 deletions
|
@ -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()
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue