bugfix:增加代理日志中sub_action行为,修复日志发送判断

This commit is contained in:
fengweihao
2022-08-01 16:05:25 +08:00
parent c4c03bfc4e
commit e52bafad6b
2 changed files with 3 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
const char *app_proto[]= {"unkonw","http1", "http2"};
const char *manipulate_action_map[]= {"redirect","block","replace","hijack","insert","edit_element"};
const char *manipulate_action_map[]= {"redirect","block","replace","hijack","insert","edit_element","run_script"};
const char *panggu_action_map[__LG_ACTION_MAX];
panggu_action_map[LG_ACTION_MONIT]="monitor";