diff --git a/src/modules/http/src/httpHandle.c b/src/modules/http/src/httpHandle.c index 04cc27fe64edbfb3aa2652564a73de993ea1583f..c73aff8bb2621081dcc99a12b432f1f6dd4ca797 100644 --- a/src/modules/http/src/httpHandle.c +++ b/src/modules/http/src/httpHandle.c @@ -214,6 +214,7 @@ bool httpParseHead(HttpContext* pContext) { } } else if (strncasecmp(pParser->pLast + 15, "Taosd ", 6) == 0) { httpSendErrorResp(pContext, HTTP_INVALID_TAOSD_AUTH_TOKEN); + return false; } else { httpSendErrorResp(pContext, HTTP_INVALID_AUTH_TOKEN); return false;