tao icon indicating copy to clipboard operation
tao copied to clipboard

writeLoop 可能写不完整

Open magengbin opened this issue 5 years ago • 2 comments

https://github.com/leesper/tao/blob/50d6193148cc0240a5908bc787481398664584a0/conn.go#L686 要对比实际写的长度跟预期是否一致

magengbin avatar Dec 08 '19 12:12 magengbin

@magengbin 好的!请教一下,如果不一致,比如少了,是否继续write?

leesper avatar Mar 14 '20 08:03 leesper

是否继续write?

我觉得要重试的,重试的时机要选择一些。立刻重试还是等一下。

magengbin avatar Mar 17 '20 14:03 magengbin