mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
fix #1605
This commit is contained in:
parent
61a1b96ca4
commit
5fab94580e
@ -685,24 +685,18 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
# Handlers
|
# Handlers
|
||||||
@controller.handler
|
@controller.handler
|
||||||
def error(self, f):
|
def error(self, f):
|
||||||
f = flow.FlowMaster.error(self, f)
|
super(ConsoleMaster, self).error(f)
|
||||||
if f:
|
self.process_flow(f)
|
||||||
self.process_flow(f)
|
|
||||||
return f
|
|
||||||
|
|
||||||
@controller.handler
|
@controller.handler
|
||||||
def request(self, f):
|
def request(self, f):
|
||||||
f = flow.FlowMaster.request(self, f)
|
super(ConsoleMaster, self).request(f)
|
||||||
if f:
|
self.process_flow(f)
|
||||||
self.process_flow(f)
|
|
||||||
return f
|
|
||||||
|
|
||||||
@controller.handler
|
@controller.handler
|
||||||
def response(self, f):
|
def response(self, f):
|
||||||
f = flow.FlowMaster.response(self, f)
|
super(ConsoleMaster, self).response(f)
|
||||||
if f:
|
self.process_flow(f)
|
||||||
self.process_flow(f)
|
|
||||||
return f
|
|
||||||
|
|
||||||
@controller.handler
|
@controller.handler
|
||||||
def tcp_message(self, f):
|
def tcp_message(self, f):
|
||||||
|
Loading…
Reference in New Issue
Block a user