diff options
| author | fengweihao <[email protected]> | 2022-11-28 16:27:08 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2022-11-28 16:27:08 +0800 |
| commit | 6481bce4b43f15b6f0c25b6043ad77396803847f (patch) | |
| tree | c5e3b7f274bee549990d6fc5d8dfa2ef33c8452a | |
| parent | 5654924f004092cb9ae85f5b07a1b2ff4882c048 (diff) | |
TSG-12513 修复monitor动作,只配置ip时产生重复日志
| -rw-r--r-- | plugin/business/tsg-http/src/tsg_http.cpp | 1 |
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; |
