summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLu <[email protected]>2018-06-21 10:00:30 +0800
committerLu <[email protected]>2018-06-21 10:00:30 +0800
commitb103376023c0b9feae981b52b45857eb98ccaf7a (patch)
tree6ca2b8af94e486156086cd2ed13bbb1d3858937d
parentec4e81b9165d539c2328c0036b89641b74122541 (diff)
变更Action定义到PanGu统一定义。
Close #1
-rw-r--r--src/httpaction.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/httpaction.h b/src/httpaction.h
index 7dfb353..16636b0 100644
--- a/src/httpaction.h
+++ b/src/httpaction.h
@@ -12,12 +12,15 @@
enum HttpActionType
{
- kActionBypass = 0,
- kActionMonitor = 1,
- kActionBlock = 2,
- kActionRedirect = 3,
- kActionEdit = 4,
- kActionMax
+ kActionBypass = 0x00,
+ kActionMonitor = 0x01,
+ kActionBlock = 0x10,
+ kActionDrop = 0x20,
+ kActionRedirect = 0x30,
+ kActionRateLimit = 0x40,
+ kActionReplace = 0x50,
+ kActionWhiteList = 0x80,
+ kActionMax = 0xff
};
/* HttpAction接口