diff options
Diffstat (limited to 'libmproxy/protocol/http.py')
-rw-r--r-- | libmproxy/protocol/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index 6a669ae1..9b4d4d8f 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -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) |