kcp-go
kcp-go copied to clipboard
请问下write卡在WriteBuffers 这里是什么情况
我profile看了下 是卡在 sess.go:311 行。。
kcp-go socket buffer写满了, 这个行为和linux socket 的tcp buffer写满了一样的行为,阻塞socket。
嗯。。后来看代码也发现是这个问题。 但是很奇怪。我这个和另外一个C#版客户端在局域网对传。。。。 不知道是不是我使用有问题还是怎样。
------------------ 原始邮件 ------------------ 发件人: "xtaci"[email protected]; 发送时间: 2019年7月28日(星期天) 上午10:50 收件人: "xtaci/kcp-go"[email protected]; 抄送: "姚鸿"[email protected]; "Author"[email protected]; 主题: Re: [xtaci/kcp-go] 请问下write卡在WriteBuffers 这里是什么情况 (#137)
kcp-go socket buffer写满了, 这个行为和linux socket 的tcp buffer写满了一样的行为,阻塞socket。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
这就不知道了,先用两端golang的排除法