提交 16bbd14f 编写于 作者: T tanghai

修复一个重大bug,在接收tcp连接过程中可能对方连接中断,TService直接return了导致再也无法接收连接

上级 bcd6e78f
......@@ -95,6 +95,7 @@ namespace ETModel
if (e.SocketError != SocketError.Success)
{
Log.Error($"accept error {e.SocketError}");
this.AcceptAsync();
return;
}
TChannel channel = new TChannel(e.AcceptSocket, this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册