opt http module

This commit is contained in:
yihaoDeng 2022-10-31 18:50:19 +08:00
parent 06c06d290f
commit d21d88becc
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ static void httpHandleReq(SHttpMsg* msg) {
SHttpModule* http = msg->http;
struct sockaddr_in dest = {0};
if (taosBuildDstAddr(msg->server, msg->port + 1, &dest) < 0) {
if (taosBuildDstAddr(msg->server, msg->port, &dest) < 0) {
goto END;
}
if (msg->flag == HTTP_GZIP) {