Commit 52d0fa45 authored by Eric's avatar Eric Committed by Eric_Lee

fix rz/sz reply record bugs

parent 74afc1a4
......@@ -52,8 +52,6 @@ func (dt *DirectTransport) Keep() {
if !dt.closed {
dt.ch <- buf[:n]
} else {
// 解决用户终端返回时, 数据丢失
_ , _ = dt.readWriter.Write(buf[:n])
logger.Debug("Transport closed")
break
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment