fix invalid packet

This commit is contained in:
yihaoDeng 2022-08-18 12:05:56 +08:00
parent 4bc57e96ba
commit 1a449a51a1
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ int32_t taosSendHttpReport(const char* server, uint16_t port, char* pCont, int32
}
terrno = 0;
char header[1024] = {0};
char header[2048] = {0};
int32_t headLen = taosBuildHttpHeader(server, contLen, header, sizeof(header), flag);
uv_buf_t* wb = taosMemoryCalloc(2, sizeof(uv_buf_t));