fix invalid packet

This commit is contained in:
yihaoDeng 2022-08-18 19:36:40 +08:00
parent e7e6a4c7e4
commit 8f5fa8b982
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ void uvOnRecvCb(uv_stream_t* cli, ssize_t nread, const uv_buf_t* buf) {
if (pBuf->invalid) {
tTrace("%s conn %p alread read invalid packet", transLabel(pTransInst), conn);
destroyConn(conn, true);
break;
return;
} else {
if (false == uvHandleReq(conn)) break;
}