Merge pull request #5882 from taosdata/fix/TD-3883

[TD-3883]<fix>: [http/clear parser] clear parser when decode finished to fix race with next request
This commit is contained in:
Shengliang Guan 2021-04-22 13:26:22 +08:00 committed by GitHub
commit cb81b8be55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ bool httpProcessData(HttpContext* pContext) {
*/
// httpCloseContextByApp(pContext);
} else {
httpClearParser(pContext->parser);
httpProcessRequest(pContext);
}
}