mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
Don't intercept TCP messages if there is no filter
This commit is contained in:
parent
bace253682
commit
c22129ccb7
@ -51,4 +51,5 @@ class Intercept:
|
|||||||
self.process_flow(f)
|
self.process_flow(f)
|
||||||
|
|
||||||
def tcp_message(self, f):
|
def tcp_message(self, f):
|
||||||
|
if self.filt:
|
||||||
f.intercept()
|
f.intercept()
|
||||||
|
Loading…
Reference in New Issue
Block a user