From 4810ef66c4e23964ee625136d4c78582ea49b595 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Mon, 26 Aug 2019 16:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0FQDN?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E6=9C=AA=E5=AF=B9=E5=91=BD=E4=B8=AD=E7=AD=96?= =?UTF-8?q?=E7=95=A5=E8=BF=9B=E8=A1=8C=E5=81=8F=E7=A7=BB=EF=BC=8C=E9=80=A0?= =?UTF-8?q?=E6=88=90=E7=AD=96=E7=95=A5=E4=BC=98=E5=85=88=E7=BA=A7=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/pangu-http/src/pangu_http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/business/pangu-http/src/pangu_http.cpp b/plugin/business/pangu-http/src/pangu_http.cpp index b20321f..ca7f85f 100644 --- a/plugin/business/pangu-http/src/pangu_http.cpp +++ b/plugin/business/pangu-http/src/pangu_http.cpp @@ -1919,7 +1919,7 @@ enum pangu_action http_scan(const struct tfe_http_session * session, enum tfe_ht int str_url_length = (int) (strlen(session->req->req_spec.url)); scan_ret = Maat_full_scan_string(g_pangu_rt->maat, g_pangu_rt->scan_table_id[PXY_CTRL_HTTP_URL], - CHARSET_UTF8, str_url, str_url_length, result, NULL, MAX_SCAN_RESULT, &(ctx->scan_mid), ctx->thread_id); + CHARSET_UTF8, str_url, str_url_length, result + hit_cnt, NULL, MAX_SCAN_RESULT - hit_cnt, &(ctx->scan_mid), ctx->thread_id); if (scan_ret > 0) {