diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-08-15 20:20:46 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-08-15 20:20:46 +0200 |
commit | 2a15479cdbda07a4a99f56f6090e479decbeb17c (patch) | |
tree | 3374510203286e555b600d7950df860a70c005e6 /libmproxy/protocol2/http_proxy.py | |
parent | 0dd243c5e42950de9c8b1193ba9dbdd2d0414a45 (diff) | |
download | mitmproxy-2a15479cdbda07a4a99f56f6090e479decbeb17c.tar.gz mitmproxy-2a15479cdbda07a4a99f56f6090e479decbeb17c.tar.bz2 mitmproxy-2a15479cdbda07a4a99f56f6090e479decbeb17c.zip |
fix bugs, make https work
Diffstat (limited to 'libmproxy/protocol2/http_proxy.py')
-rw-r--r-- | libmproxy/protocol2/http_proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/protocol2/http_proxy.py b/libmproxy/protocol2/http_proxy.py index 51d3763c..8ac7ea8e 100644 --- a/libmproxy/protocol2/http_proxy.py +++ b/libmproxy/protocol2/http_proxy.py @@ -6,7 +6,7 @@ from .http import HttpLayer class HttpProxy(Layer, ServerConnectionMixin): def __call__(self): - layer = HttpLayer(self) + layer = HttpLayer(self, "regular") for message in layer(): if not self._handle_server_message(message): yield message @@ -18,7 +18,7 @@ class HttpUpstreamProxy(Layer, ServerConnectionMixin): self.server_address = server_address def __call__(self): - layer = HttpLayer(self) + layer = HttpLayer(self, "upstream") for message in layer(): if not self._handle_server_message(message): yield message |