summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2022-11-28 16:27:08 +0800
committerfengweihao <[email protected]>2022-11-28 16:27:08 +0800
commit6481bce4b43f15b6f0c25b6043ad77396803847f (patch)
treec5e3b7f274bee549990d6fc5d8dfa2ef33c8452a /plugin
parent5654924f004092cb9ae85f5b07a1b2ff4882c048 (diff)
TSG-12513 修复monitor动作,只配置ip时产生重复日志
Diffstat (limited to 'plugin')
-rw-r--r--plugin/business/tsg-http/src/tsg_http.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp
index a0ce29f..8c20465 100644
--- a/plugin/business/tsg-http/src/tsg_http.cpp
+++ b/plugin/business/tsg-http/src/tsg_http.cpp
@@ -2700,6 +2700,7 @@ enum proxy_action http_scan(const struct tfe_http_session * session, enum tfe_ht
TFE_LOG_INFO(g_proxy_rt->local_logger, "Multiple rules matched: url=%s num=%lu ids=%s execute=%d.",
session->req->req_spec.url, hit_cnt, buff, ctx->enforce_rules[0].config_id);
}
+ ctx->hit_cnt=0;
}
__out:
return ctx->action;