Merge pull request #16224 from taosdata/fix/invalidPacket

fix invalid packet
This commit is contained in:
Shengliang Guan 2022-08-18 20:56:24 +08:00 committed by GitHub
commit 46ec10e19a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}