From ea2c6f6805064ecd4cd594f5eb3e6b192f64a499 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 27 Jul 2022 08:42:08 +0800 Subject: [PATCH] opt rpc --- source/libs/transport/src/thttp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/libs/transport/src/thttp.c b/source/libs/transport/src/thttp.c index ce9c6fb306..62277a7569 100644 --- a/source/libs/transport/src/thttp.c +++ b/source/libs/transport/src/thttp.c @@ -17,10 +17,11 @@ #ifdef USE_UV #include #endif -#include "taoserror.h" +// clang-format off +#include "zlib.h" #include "thttp.h" +#include "taoserror.h" #include "tlog.h" -#include "zlib.h" static int32_t taosBuildHttpHeader(const char* server, int32_t contLen, char* pHead, int32_t headLen, EHttpCompFlag flag) { @@ -231,4 +232,5 @@ SEND_OVER: return code; } +// clang-format on #endif -- GitLab