mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
Fix bug: TCP interception do not adhere ctx.options.intercept_active
This commit is contained in:
parent
7d9e3dd9a3
commit
cf63396d84
@ -51,5 +51,5 @@ class Intercept:
|
||||
self.process_flow(f)
|
||||
|
||||
def tcp_message(self, f):
|
||||
if self.filt:
|
||||
if self.filt and ctx.options.intercept_active:
|
||||
f.intercept()
|
||||
|
Loading…
Reference in New Issue
Block a user