diff options
author | Sandor Nemes <sandor.nemes@gmail.com> | 2016-01-18 15:52:03 +0100 |
---|---|---|
committer | Sandor Nemes <sandor.nemes@gmail.com> | 2016-01-18 15:52:03 +0100 |
commit | 61bd318622fbb3035ad2ff07315ef328e4aad503 (patch) | |
tree | 3e99fe1f19db65e1939422fb59c53f4b8c08c96d /libmproxy/proxy/modes/http_proxy.py | |
parent | 918a457f5a6e4b3281f86ba31107d0a05082fb5e (diff) | |
download | mitmproxy-61bd318622fbb3035ad2ff07315ef328e4aad503.tar.gz mitmproxy-61bd318622fbb3035ad2ff07315ef328e4aad503.tar.bz2 mitmproxy-61bd318622fbb3035ad2ff07315ef328e4aad503.zip |
remove unnecessary source_address from proxy modes
Diffstat (limited to 'libmproxy/proxy/modes/http_proxy.py')
-rw-r--r-- | libmproxy/proxy/modes/http_proxy.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libmproxy/proxy/modes/http_proxy.py b/libmproxy/proxy/modes/http_proxy.py index 27da57dd..c7502c24 100644 --- a/libmproxy/proxy/modes/http_proxy.py +++ b/libmproxy/proxy/modes/http_proxy.py @@ -16,7 +16,6 @@ class HttpProxy(Layer, ServerConnectionMixin): class HttpUpstreamProxy(Layer, ServerConnectionMixin): def __init__(self, ctx, server_address): super(HttpUpstreamProxy, self).__init__(ctx, server_address=server_address) - self.server_conn.source_address = (ctx.config.host, 0) def __call__(self): layer = self.ctx.next_layer(self) |