diff options
| author | fengweihao <[email protected]> | 2024-11-27 17:26:57 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2024-11-27 17:26:57 +0800 |
| commit | dd4e2e6d66fcd20b29e6733ef2f10d7c1dfad942 (patch) | |
| tree | 8093362484e2deb05c5c1d57f05ef7b457d6cf68 /plugin/business/tsg-http/src/tsg_http.cpp | |
| parent | 43cbb3745f333a83be6123734e0981d548abf771 (diff) | |
TSG-23925 Supports scanning of source_zone and destination_zone, and removes internal and external
Diffstat (limited to 'plugin/business/tsg-http/src/tsg_http.cpp')
| -rw-r--r-- | plugin/business/tsg-http/src/tsg_http.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp index ab5de9f..d059355 100644 --- a/plugin/business/tsg-http/src/tsg_http.cpp +++ b/plugin/business/tsg-http/src/tsg_http.cpp @@ -3073,6 +3073,12 @@ void proxy_on_http_begin(const struct tfe_stream *stream, const struct tfe_http_ hit_cnt += scan_ret; } + scan_ret = tfe_scan_zone(stream, ctx->result, ctx->scan_mid, hit_cnt); + if(scan_ret > 0) + { + hit_cnt += scan_ret; + } + addr_tfe2sapp(stream->addr, &sapp_addr); if (sapp_addr.addrtype == ADDR_TYPE_IPV4) { |
