From e79b52af16d61f2b0a508ec8f51a4079d8737b2e Mon Sep 17 00:00:00 2001 From: fengweihao Date: Fri, 11 Oct 2019 11:48:53 +0800 Subject: [PATCH] =?UTF-8?q?*=20SubId=E8=A1=A8=E5=90=8D=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= 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/dynamic_maat_table_info.conf | 2 +- resource/pangu/table_info.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/business/pangu-http/src/pangu_http.cpp b/plugin/business/pangu-http/src/pangu_http.cpp index 6a07eaf..552696a 100644 --- a/plugin/business/pangu-http/src/pangu_http.cpp +++ b/plugin/business/pangu-http/src/pangu_http.cpp @@ -910,7 +910,7 @@ int pangu_policy_init(const char* profile_path, const char* static_section, cons { goto error_out; } - g_pangu_rt->subscriber_id_table_id=Maat_table_register(g_pangu_rt->dyn_maat, "TSG_DYN_SUBSCRIBE_IP"); + g_pangu_rt->subscriber_id_table_id=Maat_table_register(g_pangu_rt->dyn_maat, "TSG_DYN_SUBSCRIBER_IP"); ret=Maat_plugin_EX_register(g_pangu_rt->dyn_maat, g_pangu_rt->subscriber_id_table_id, subscribe_id_new_cb, @@ -921,7 +921,7 @@ int pangu_policy_init(const char* profile_path, const char* static_section, cons NULL); if(ret!=0) { - TFE_LOG_ERROR(NULL, "Pangu HTTP Dynamic Maat IPD_DYN_SUBSCIBE_IP EX data register failed."); + TFE_LOG_ERROR(NULL, "Pangu HTTP Dynamic Maat TSG_DYN_SUBSCRIBER_IP EX data register failed."); goto error_out; } diff --git a/resource/pangu/dynamic_maat_table_info.conf b/resource/pangu/dynamic_maat_table_info.conf index 2bef3f1..e83c303 100644 --- a/resource/pangu/dynamic_maat_table_info.conf +++ b/resource/pangu/dynamic_maat_table_info.conf @@ -16,4 +16,4 @@ #For expr/expr_plus Table #id name type src_charset dst_charset do_merge cross_cache quick_mode -1 TSG_DYN_SUBSCRIBE_IP plugin {"key":3,"valid":5} +1 TSG_DYN_SUBSCRIBER_IP plugin {"key":3,"valid":5} diff --git a/resource/pangu/table_info.conf b/resource/pangu/table_info.conf index 574f9ad..b8fa02c 100644 --- a/resource/pangu/table_info.conf +++ b/resource/pangu/table_info.conf @@ -32,7 +32,7 @@ 8 PXY_CTRL_HTTP_RES_BODY expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 8 TSG_OBJ_CONTENT expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 9 PXY_CTRL_SUBSCRIBE_ID expr UTF8 UTF8 yes 0 quickon -9 TSG_OBJ_SUBSCRIBE_ID expr UTF8 UTF8 yes 0 quickon +9 TSG_OBJ_SUBSCRIBER_ID expr UTF8 UTF8 yes 0 quickon 10 PXY_CACHE_COMPILE compile escape -- 11 PXY_CACHE_GROUP group -- 12 PXY_CACHE_HTTP_URL expr UTF8 UTF8 yes 0 quickoff