diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2014-10-09 01:58:54 +0200 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2014-10-09 01:59:02 +0200 |
| commit | 7c56a3bb019f521fc45953923b94e9249a1fca78 (patch) | |
| tree | 6650604727d664045a77a4ce130afa5d220ea329 /libmproxy/proxy/server.py | |
| parent | ff366d152e81955a1832e75f26dc0c5906e0e7c0 (diff) | |
| download | mitmproxy-7c56a3bb019f521fc45953923b94e9249a1fca78.tar.gz mitmproxy-7c56a3bb019f521fc45953923b94e9249a1fca78.tar.bz2 mitmproxy-7c56a3bb019f521fc45953923b94e9249a1fca78.zip | |
Add SOCKS5 mode, fix #305
Diffstat (limited to 'libmproxy/proxy/server.py')
| -rw-r--r-- | libmproxy/proxy/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy/server.py b/libmproxy/proxy/server.py index 0152f539..57932b0f 100644 --- a/libmproxy/proxy/server.py +++ b/libmproxy/proxy/server.py @@ -70,7 +70,7 @@ class ConnectionHandler: # Can we already identify the target server and connect to it? client_ssl, server_ssl = False, False - upstream_info = self.config.mode.get_upstream_server(self.client_conn.connection) + upstream_info = self.config.mode.get_upstream_server(self.client_conn) if upstream_info: self.set_server_address(upstream_info[2:]) client_ssl, server_ssl = upstream_info[:2] |
