diff --git a/src/modules/http/src/gcHandle.c b/src/modules/http/src/gcHandle.c index dfea677ffc3e582726bf8ccfbb44eecaf747da3a..eb0c6223a7f8c6d0ae1e980646695a074959730b 100644 --- a/src/modules/http/src/gcHandle.c +++ b/src/modules/http/src/gcHandle.c @@ -64,14 +64,12 @@ bool gcProcessLoginRequest(HttpContext* pContext) { //[{ // "refId": "A", // "alias" : "taosd", -// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now -// interval(20000a)" +// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now interval(20000a)" //}, //{ // "refId": "B", // "alias" : "system", -// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now -// interval(20000a)" +// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now interval(20000a)" //}] // output //[{ diff --git a/src/modules/http/src/httpCode.c b/src/modules/http/src/httpCode.c index e541872e2b8f8fb83d01444dbb7c83832609e077..a1d66f32b4fc99d1991af4b3b5e68bcef36b3f8d 100644 --- a/src/modules/http/src/httpCode.c +++ b/src/modules/http/src/httpCode.c @@ -20,7 +20,8 @@ char* httpMsg[] = { "http method parse error", // 3 "http version should be 1.0, 1.1 or 1.2", // 4 "http head parse error", // 5 - "request size is too big", "http body size invalid", + "request size is too big", + "http body size invalid", "http chunked body parse error", // 8 "http url parse error", // 9 "invalid type of Authorization", @@ -52,7 +53,8 @@ char* httpMsg[] = { "tags not find", "tags size is 0", "tags size too long", // 36 - "tag is null", "tag name is null", + "tag is null", + "tag name is null", "tag name length too long", // 39 "tag value type should be number or string", "tag value is null",