From eed29299275578ca17b14a2ff5f29b01cec09643 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 12 Mar 2024 17:30:28 +0800 Subject: TSG-19907 修复笔误doH日志中多次发送decoded_as字段 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/doh/src/logger.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/business/doh/src/logger.cpp b/plugin/business/doh/src/logger.cpp index 9420413..f269969 100644 --- a/plugin/business/doh/src/logger.cpp +++ b/plugin/business/doh/src/logger.cpp @@ -398,7 +398,6 @@ int doh_send_log(struct doh_conf *handle, const struct tfe_http_session *http, c tfe_stream_info_get(stream, INFO_FROM_DOWNSTREAM_RX_OFFSET, &c2s_byte_num, sizeof(c2s_byte_num)); tfe_stream_info_get(stream, INFO_FROM_UPSTREAM_RX_OFFSET, &s2c_byte_num, sizeof(s2c_byte_num)); - cJSON_AddStringToObject(common_obj, "decoded_as", "HTTP"); cJSON_AddStringToObject(common_obj, "ip_protocol", "tcp"); cJSON_AddNumberToObject(common_obj, "out_link_id", 0); cJSON_AddNumberToObject(common_obj, "in_link_id", 0); -- cgit v1.2.3