From e02caa97575f8091f93be52258a676235737cfed Mon Sep 17 00:00:00 2001 From: Yihao Deng Date: Mon, 8 Jul 2024 05:41:38 +0000 Subject: [PATCH] add http interface --- source/libs/transport/src/thttp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/transport/src/thttp.c b/source/libs/transport/src/thttp.c index 4370b3d899..74325ae5ab 100644 --- a/source/libs/transport/src/thttp.c +++ b/source/libs/transport/src/thttp.c @@ -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