diff options
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 |