From 6812704f92587786becb41972e40586c88712442 Mon Sep 17 00:00:00 2001 From: fumingwei Date: Mon, 17 Aug 2020 14:49:55 +0800 Subject: [PATCH] =?UTF-8?q?TSG-2611:=20=E4=BF=AE=E6=94=B9=E5=85=B3?= =?UTF-8?q?=E9=97=ADtcp=20option=E5=8A=9F=E8=83=BD=E6=97=B6=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=85=B3=E9=97=AD=E6=89=AB=E6=8F=8Fmaat=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/kni_entry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 8541328..57b8a29 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -1368,7 +1368,8 @@ char first_data_process(struct streaminfo *stream, struct pme_info *pmeinfo, str pmeinfo->ssl_intercept_state = 1; //only action = intercept, need sendlog pmeinfo->tld_handle = TLD_create(-1); - pxy_tcp_option_get_param(g_tsg_maat_feather,(const struct streaminfo *)stream,pmeinfo,logger); + if(g_kni_handle->pxy_tcp_option_enable == 1) + pxy_tcp_option_get_param(g_tsg_maat_feather,(const struct streaminfo *)stream,pmeinfo,logger); return first_data_intercept(stream, pmeinfo, pktinfo, thread_seq); default: //action != intercept,bypass and dropme