提交 17e980b6 编写于 作者: M Minglei Jin

[TD-4456]<fix>: fix post body size

上级 e604477a
......@@ -158,7 +158,7 @@ static bool restProcessUdfRequest(HttpContext* pContext) {
}
char* sql = pContext->parser->body.str;
int len = pContext->parser->body.size;
int len = pContext->parser->body.pos;
if (sql == NULL) {
httpSendErrorResp(pContext, TSDB_CODE_HTTP_NO_SQL_INPUT);
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册