TSG-1167 proxy-event-log增加注入文件大小

This commit is contained in:
fengweihao
2020-04-03 16:16:07 +08:00
parent c94eab176b
commit ab492252a9
4 changed files with 8 additions and 1 deletions

View File

@@ -303,6 +303,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
if(log_msg->result[i].action == LG_ACTION_MANIPULATE)
{
cJSON_AddStringToObject(per_hit_obj, "common_sub_action", manipulate_action_map[log_msg->action]);
cJSON_AddNumberToObject(per_hit_obj, "http_action_file_sz", log_msg->inject_sz);
}
else
{