TSG-643 Deny动作配置对象请求体问题
增加按比例执行策略功能
This commit is contained in:
@@ -453,6 +453,18 @@ static inline int tfe_http_in_response(enum tfe_http_event events)
|
||||
return !(tfe_http_in_request(events));
|
||||
}
|
||||
|
||||
static inline int tfe_http_in_hdr(enum tfe_http_event events)
|
||||
{
|
||||
if ((events & EV_HTTP_REQ_HDR) | (events & EV_HTTP_REQ_END))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
static inline struct tfe_http_half* tfe_http_session_request_duplicate(struct tfe_http_session * session)
|
||||
{
|
||||
struct http_field_name in_header_field{};
|
||||
|
||||
Reference in New Issue
Block a user