From d197723309948df94cd85d8ee05756156242eeba Mon Sep 17 00:00:00 2001 From: zhengchao Date: Mon, 17 Jun 2019 21:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86PXY=5FCTRL=5FHTTP=5FREQ=5FBODY?= =?UTF-8?q?=E5=92=8CPXY=5FCTRL=5FHTTP=5FRES=5FBODY=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=BATSG=5FOBJ=5FCONTENT=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/pangu-http/src/pangu_http.cpp | 4 ++-- resource/pangu/table_info.conf_yiqi | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/business/pangu-http/src/pangu_http.cpp b/plugin/business/pangu-http/src/pangu_http.cpp index 2cd5b4a..34723b1 100644 --- a/plugin/business/pangu-http/src/pangu_http.cpp +++ b/plugin/business/pangu-http/src/pangu_http.cpp @@ -789,9 +789,9 @@ int pangu_policy_init(const char* profile_path, const char* static_section, cons table_name[PXY_CTRL_IP] = "PXY_CTRL_IP"; table_name[PXY_CTRL_HTTP_URL] = "PXY_CTRL_HTTP_URL"; table_name[PXY_CTRL_HTTP_REQ_HDR] = "PXY_CTRL_HTTP_REQ_HDR"; - table_name[PXY_CTRL_HTTP_REQ_BODY] = "PXY_CTRL_HTTP_REQ_BODY"; + table_name[PXY_CTRL_HTTP_REQ_BODY] = "TSG_OBJ_CONTENT"; table_name[PXY_CTRL_HTTP_RES_HDR] = "PXY_CTRL_HTTP_RES_HDR"; - table_name[PXY_CTRL_HTTP_RES_BODY] = "PXY_CTRL_HTTP_RES_BODY"; + table_name[PXY_CTRL_HTTP_RES_BODY] = "TSG_OBJ_CONTENT"; table_name[PXY_CTRL_SUBSCRIBE_ID] = "PXY_CTRL_SUBSCRIBE_ID"; for (int i = 0; i < __SCAN_TABLE_MAX; i++) { diff --git a/resource/pangu/table_info.conf_yiqi b/resource/pangu/table_info.conf_yiqi index cf1bb82..34c3301 100644 --- a/resource/pangu/table_info.conf_yiqi +++ b/resource/pangu/table_info.conf_yiqi @@ -23,6 +23,7 @@ 5 PXY_CTRL_HTTP_REQ_BODY expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 6 PXY_CTRL_HTTP_RES_HDR expr_plus UTF8 UTF8 UTF8 yes 0 quickoff 7 PXY_CTRL_HTTP_RES_BODY expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff +7 TSG_OBJ_CONTENT expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 8 PXY_CTRL_SUBSCRIBE_ID expr UTF8 UTF8 yes 0 quickon 9 PXY_CACHE_COMPILE compile escape -- 10 PXY_CACHE_GROUP group --