diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-07-23 20:11:45 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-23 11:11:45 -0700 |
commit | c58db1adf362345e8c7ca4a58b4a58abb23d9b32 (patch) | |
tree | c02b5123a798c6e8a03338f20e536a2b6665b31e | |
parent | 514ea1b701ce7e8f26a36cc1dc84710a4ef5fe4b (diff) | |
download | mitmproxy-c58db1adf362345e8c7ca4a58b4a58abb23d9b32.tar.gz mitmproxy-c58db1adf362345e8c7ca4a58b4a58abb23d9b32.tar.bz2 mitmproxy-c58db1adf362345e8c7ca4a58b4a58abb23d9b32.zip |
http2: fix kill (#1413)
-rw-r--r-- | mitmproxy/protocol/http2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/protocol/http2.py b/mitmproxy/protocol/http2.py index 1285e10e..8308f44d 100644 --- a/mitmproxy/protocol/http2.py +++ b/mitmproxy/protocol/http2.py @@ -584,6 +584,8 @@ class Http2SingleStreamLayer(http._HttpTransmissionLayer, basethread.BaseThread) except exceptions.ProtocolException as e: # pragma: no cover self.log(repr(e), "info") self.log(traceback.format_exc(), "debug") + except exceptions.Kill: + self.log("Connection killed", "info") if not self.zombie: self.zombie = time.time() |