diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-05-13 08:38:00 -0500 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-05-17 21:26:06 -0700 |
commit | 43ab9f7bd07e28c5d0d99b82f25c470db161eecd (patch) | |
tree | dc17956dd9baa2be698a0099c5fda4a64b6b15a0 /mitmproxy/exceptions.py | |
parent | e61014d20301b1b2ca403cd5a1d9e0ee5b2d8de9 (diff) | |
download | mitmproxy-43ab9f7bd07e28c5d0d99b82f25c470db161eecd.tar.gz mitmproxy-43ab9f7bd07e28c5d0d99b82f25c470db161eecd.tar.bz2 mitmproxy-43ab9f7bd07e28c5d0d99b82f25c470db161eecd.zip |
http2: properly handle connection errors
Diffstat (limited to 'mitmproxy/exceptions.py')
-rw-r--r-- | mitmproxy/exceptions.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mitmproxy/exceptions.py b/mitmproxy/exceptions.py index 52fd36d1..8f989063 100644 --- a/mitmproxy/exceptions.py +++ b/mitmproxy/exceptions.py @@ -50,6 +50,10 @@ class HttpProtocolException(ProtocolException): pass +class Http2ProtocolException(ProtocolException): + pass + + class ServerException(ProxyException): pass @@ -83,4 +87,4 @@ class ScriptException(ProxyException): class FlowReadException(ProxyException): - pass
\ No newline at end of file + pass |