From 96cdb7228d1173e14743aa3ba9bcc93106c76558 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Thu, 7 Mar 2024 15:21:08 +0800 Subject: [PATCH] =?UTF-8?q?TSG-19820=20Protocol=20Field=E4=B8=ADRequest=20?= =?UTF-8?q?Body/Response=20Body=E9=80=89=E6=8B=A9=E9=9D=9E=E8=BF=90?= =?UTF-8?q?=E7=AE=97=E6=97=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E5=91=BD=E4=B8=AD?= =?UTF-8?q?=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/tsg-http/src/tsg_http.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp index 5f2481a..5e6f96b 100644 --- a/plugin/business/tsg-http/src/tsg_http.cpp +++ b/plugin/business/tsg-http/src/tsg_http.cpp @@ -2814,6 +2814,8 @@ enum proxy_action http_scan(const struct tfe_http_session * session, enum tfe_ht if ((events & EV_HTTP_REQ_BODY_END) | (events & EV_HTTP_RESP_BODY_END)) { + table_id = events & EV_HTTP_REQ_BODY_END ? g_proxy_rt->scan_table_id[PXY_CTRL_HTTP_REQ_BODY] : g_proxy_rt + ->scan_table_id[PXY_CTRL_HTTP_RES_BODY]; scan_ret = maat_scan_not_logic(g_proxy_rt->feather, table_id, result + hit_cnt, MAX_SCAN_RESULT - hit_cnt, &n_hit_result, ctx->scan_mid); if (scan_ret == MAAT_SCAN_HIT)