From 84a016dccf2aed5a949832e57e0e38dd432cdb49 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 25 Jun 2014 23:03:15 +0200 Subject: expose sockname --- libmproxy/protocol/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmproxy/protocol') diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index 69854cc9..4577b166 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -897,8 +897,8 @@ class HTTPHandler(ProtocolHandler, TemporaryServerChangeMixin): req = HTTPRequest.from_stream(self.c.client_conn.rfile, body_size_limit=self.c.config.body_size_limit) self.c.log("request", "debug", [req._assemble_first_line(req.form_in)]) - send_upstream = self.process_request(flow, req) - if not send_upstream: + send_request_upstream = self.process_request(flow, req) + if not send_request_upstream: return True # Be careful NOT to assign the request to the flow before -- cgit v1.2.3