提交 e7e6a4c7 编写于 作者: dengyihao's avatar dengyihao

fix invalid packet

上级 66f6dcdd
......@@ -284,6 +284,9 @@ void uvOnRecvCb(uv_stream_t* cli, ssize_t nread, const uv_buf_t* buf) {
}
}
return;
} else {
destroyConn(conn, true);
return;
}
}
if (nread == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册