This commit is contained in:
Shengliang Guan 2020-09-14 22:23:50 +08:00
parent 6e46c77f6c
commit 125e7e9340
1 changed files with 5 additions and 1 deletions

View File

@ -308,7 +308,11 @@ static bool httpReadData(HttpContext *pContext) {
httpInitParser(pParser);
}
ASSERT(!pParser->parsed);
if (pParser->parsed) {
httpDebug("context:%p, fd:%d, not in ready state, parsed:%d", pContext, pContext->fd, pParser->parsed);
return false;
}
pContext->accessTimes++;
pContext->lastAccessTime = taosGetTimestampSec();