mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
fix flow == None errors
This commit is contained in:
parent
ab3543ba4d
commit
af6c257131
@ -188,7 +188,7 @@ class HttpLayer(Layer):
|
||||
|
||||
self.log("response", "debug", [repr(flow.response)])
|
||||
flow = self.channel.ask("response", flow)
|
||||
if flow == Kill:
|
||||
if not flow or flow == Kill:
|
||||
raise Kill()
|
||||
self.send_response_to_client(flow)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user