add http interface

This commit is contained in:
Yihao Deng 2024-07-08 05:41:38 +00:00
parent c3caa8475a
commit e02caa9757
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ static void httpHandleReq(SHttpMsg* msg) {
terrno = TSDB_CODE_OUT_OF_MEMORY;
goto END;
}
wb[0] = uv_buf_init((char*)header, strlen(header)); // heap var
wb[1] = uv_buf_init((char*)msg->cont, msg->len); // heap var