summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-08-22 15:04:26 +0800
committerliuxueli <[email protected]>2023-08-22 15:21:22 +0800
commite3d38bfc5b4ab3ed28f36e8a9b4a8a7446feaaaa (patch)
treeb1f604bd61b3977985c94f57b4fe5e0e5ed5f399 /src/tsg_entry.cpp
parentff14e14afa36b5afaef14cabbbd372075cfceaf7 (diff)
修复http url中包含冒号未命中策略的问题
Diffstat (limited to 'src/tsg_entry.cpp')
-rw-r--r--src/tsg_entry.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index c082489..491e0d6 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -2121,8 +2121,7 @@ size_t session_pending_state_deal(const struct streaminfo *a_stream, struct sess
if(srt_process_context->proto==PROTO_HTTP && srt_process_context->http_url!=NULL)
{
- table_idx=tsg_http_url_table_idx_get();
- matched_cnt+=tsg_scan_shared_policy(a_stream, g_tsg_maat_feather, srt_process_context->http_url, table_idx, (srt_process_context->mid), matched_rules+matched_cnt, n_matched_rules-matched_cnt);
+ matched_cnt+=tsg_scan_http_url_policy(a_stream, g_tsg_maat_feather, srt_process_context->http_url, (srt_process_context->mid), matched_rules+matched_cnt, n_matched_rules-matched_cnt);
}
session_app_gather_results_set_l7_protocol(a_stream, app_id, n_offset);