diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-08-16 12:43:15 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-08-16 12:43:15 +0200 |
commit | 4c31ffd90fcc273f798b9a5be96c811fbedb5e2e (patch) | |
tree | ba720b181ba363fcb3a699edcf483104d0bd10e8 /libmproxy/protocol2/http_proxy.py | |
parent | a175572447fad5f992e1f0c086386f03bf9cd6fb (diff) | |
download | mitmproxy-4c31ffd90fcc273f798b9a5be96c811fbedb5e2e.tar.gz mitmproxy-4c31ffd90fcc273f798b9a5be96c811fbedb5e2e.tar.bz2 mitmproxy-4c31ffd90fcc273f798b9a5be96c811fbedb5e2e.zip |
minor fixes
Diffstat (limited to 'libmproxy/protocol2/http_proxy.py')
-rw-r--r-- | libmproxy/protocol2/http_proxy.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmproxy/protocol2/http_proxy.py b/libmproxy/protocol2/http_proxy.py index b4c506cb..ca70b012 100644 --- a/libmproxy/protocol2/http_proxy.py +++ b/libmproxy/protocol2/http_proxy.py @@ -1,6 +1,7 @@ from __future__ import (absolute_import, print_function, division) from .layer import Layer, ServerConnectionMixin +from .http import HttpLayer class HttpProxy(Layer, ServerConnectionMixin): @@ -20,6 +21,4 @@ class HttpUpstreamProxy(Layer, ServerConnectionMixin): layer = HttpLayer(self, "upstream") for message in layer(): if not self._handle_server_message(message): - yield message - -from .http import HttpLayer + yield message
\ No newline at end of file |