TD-1291
This commit is contained in:
parent
6e46c77f6c
commit
125e7e9340
|
@ -308,7 +308,11 @@ static bool httpReadData(HttpContext *pContext) {
|
||||||
httpInitParser(pParser);
|
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->accessTimes++;
|
||||||
pContext->lastAccessTime = taosGetTimestampSec();
|
pContext->lastAccessTime = taosGetTimestampSec();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue