summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2018-12-16 22:47:03 +0600
committerzhengchao <[email protected]>2018-12-16 22:47:03 +0600
commit3d710accd36680cfacab3c3154947ba24a39280d (patch)
tree78a3444671c95e48893d8986e07f2be612772c63 /resource
parent8713da2d810c9b93520c0966a893d156eddda3a0 (diff)
HTTP业务层增加subscribe ID扫描功能。
Diffstat (limited to 'resource')
-rw-r--r--resource/pangu/dynamic_maat_table_info.conf19
-rw-r--r--resource/pangu/table_info.conf13
2 files changed, 26 insertions, 6 deletions
diff --git a/resource/pangu/dynamic_maat_table_info.conf b/resource/pangu/dynamic_maat_table_info.conf
new file mode 100644
index 0000000..491b4bf
--- /dev/null
+++ b/resource/pangu/dynamic_maat_table_info.conf
@@ -0,0 +1,19 @@
+#each collumn seperate with '\t'
+#id (0~65535)
+#name string
+#type one of ip,expr,expr_plus,digest,intval,compile or plugin
+#src_charset one of GBK,BIG5,UNICODE,UTF8
+#dst_charset combined by GBK,BIG5,UNICODE,UTF8,seperate with '/'
+#do_merege [yes/no]
+#cross cache [number]
+#quick mode [quickon/quickoff], default [quickoff]
+#For ip/intval/digest/compile/group
+#id name type
+#
+#For plugin table
+#id name type json_descr
+#
+#For expr/expr_plus Table
+#id name type src_charset dst_charset do_merge cross_cache quick_mode
+
+1 IPD_DYN_SUBSCIBE_IP plugin {"key":4,"valid":9} \ No newline at end of file
diff --git a/resource/pangu/table_info.conf b/resource/pangu/table_info.conf
index 5c196c6..993add6 100644
--- a/resource/pangu/table_info.conf
+++ b/resource/pangu/table_info.conf
@@ -23,9 +23,10 @@
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
-8 PXY_CACHE_COMPILE compile escape --
-9 PXY_CACHE_GROUP group --
-10 PXY_CACHE_HTTP_URL expr UTF8 UTF8 yes 0 quickoff
-11 PXY_CACHE_HTTP_COOKIE expr UTF8 UTF8 yes 0 quickoff
-12 PXY_OBJ_TRUSTED_CA_CERT plugin {"valid":4,"foreign":"3"}
-13 PXY_OBJ_TRUSTED_CA_CRL plugin {"valid":4,"foreign":"3"} \ No newline at end of file
+8 PXY_CTRL_SUBSCRIBE_ID expr UTF8 UTF8 yes 0 quickon
+9 PXY_CACHE_COMPILE compile escape --
+10 PXY_CACHE_GROUP group --
+11 PXY_CACHE_HTTP_URL expr UTF8 UTF8 yes 0 quickoff
+12 PXY_CACHE_HTTP_COOKIE expr UTF8 UTF8 yes 0 quickoff
+13 PXY_OBJ_TRUSTED_CA_CERT plugin {"valid":4,"foreign":"3"}
+14 PXY_OBJ_TRUSTED_CA_CRL plugin {"valid":4,"foreign":"3"} \ No newline at end of file