diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-15 17:43:46 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-16 11:36:31 +0200 |
commit | 1e40d34e942382bbb11234e0e9232794b3bf6acf (patch) | |
tree | 71e7c5879dcf9d30073e23014fea627eeba2647d /libmproxy/protocol2/http_proxy.py | |
parent | 2a15479cdbda07a4a99f56f6090e479decbeb17c (diff) | |
download | mitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.tar.gz mitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.tar.bz2 mitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.zip |
add ALPN to proxy connections
Diffstat (limited to 'libmproxy/protocol2/http_proxy.py')
-rw-r--r-- | libmproxy/protocol2/http_proxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmproxy/protocol2/http_proxy.py b/libmproxy/protocol2/http_proxy.py index 8ac7ea8e..b4c506cb 100644 --- a/libmproxy/protocol2/http_proxy.py +++ b/libmproxy/protocol2/http_proxy.py @@ -1,7 +1,6 @@ from __future__ import (absolute_import, print_function, division) from .layer import Layer, ServerConnectionMixin -from .http import HttpLayer class HttpProxy(Layer, ServerConnectionMixin): @@ -22,3 +21,5 @@ class HttpUpstreamProxy(Layer, ServerConnectionMixin): for message in layer(): if not self._handle_server_message(message): yield message + +from .http import HttpLayer |