summaryrefslogtreecommitdiff
path: root/src/HTTP_Message_Header.c
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-07-12 19:27:17 +0800
committeryangwei <[email protected]>2023-07-12 19:27:17 +0800
commit5efe31382d9a86a1c9fe4302dc80b6889c6cbb4e (patch)
tree5b4a98b2c148728a3a011271d5783681bb4b940b /src/HTTP_Message_Header.c
parent0747ada34d0aa1563e718f17bc81bf0afdec83c5 (diff)
🎈 perf(less fatal log): 减少输出fatal级别日志的逻辑v2.0.13
单向流变双向流时的日志级别改为debug
Diffstat (limited to 'src/HTTP_Message_Header.c')
-rw-r--r--src/HTTP_Message_Header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTP_Message_Header.c b/src/HTTP_Message_Header.c
index 8de2f7c..254d7a3 100644
--- a/src/HTTP_Message_Header.c
+++ b/src/HTTP_Message_Header.c
@@ -256,7 +256,7 @@ void http_initHttpConnection(http_stream *a_http_stream, int thread_seq, struct
/*http have set one-way traffic, but sapp become two-way traffic*/
if(a_tcp->dir==DIR_DOUBLE && (a_http_stream->dir==DIR_S2C||a_http_stream->dir==DIR_C2S))
{
- MESA_handle_runtime_log(g_http_prog_para.http_log_handle, RLOG_LV_FATAL, HTTP_PLUGIN_NAME, "http set single, but sapp become double, addr:%s.",
+ MESA_handle_runtime_log(g_http_prog_para.http_log_handle, RLOG_LV_DEBUG, HTTP_PLUGIN_NAME, "http set single, but sapp become double, addr:%s.",
printaddr(&a_tcp->addr,thread_seq));
}
}