Skip to content

Commit c631352

Browse files
committed
Review.
1 parent 76fb2bc commit c631352

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/filters/network_matchers.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
// ---------------------------------------------------------------------------
2-
// Filter matching
3-
// ---------------------------------------------------------------------------
1+
//! This file contains the implementation of network filter matching logic for a filtering system.
2+
//! It provides functions to check if a given network request matches specific filter patterns based
3+
//! on various criteria, including hostname anchoring, pattern matching, and regular expressions.
4+
//! The file also handles domain-specific options and ensures that requests are filtered according
5+
//! to their type, protocol, and party (first-party or third-party). The code is designed to
6+
//! efficiently determine if a request should be blocked or allowed based on the defined filters.
47
58
use memchr::memmem;
69

0 commit comments

Comments
 (0)