TSG-511 proxy事件日志action统一赋值处理

This commit is contained in:
fengweihao
2019-12-20 10:08:30 +08:00
parent 5cdd28235d
commit fe7fc6fa9c
2 changed files with 29 additions and 5 deletions

View File

@@ -2464,7 +2464,7 @@ void pangu_on_http_end(const struct tfe_stream * stream,
}
}
struct pangu_log log_msg = {.stream=stream, .http=session, .result=ctx->enforce_rules, .result_num=ctx->n_enforce,
.req_body= ctx->log_req_body, .resp_body=ctx->log_resp_body, .action=5};
.req_body= ctx->log_req_body, .resp_body=ctx->log_resp_body, .action=0};
if(ctx->action == PG_ACTION_MANIPULATE)
{