aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/modes/http_proxy.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-03 17:01:25 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-03 17:01:25 +0200
commitf4272de5ec77fb57723e2274e4ddc50d73489e1e (patch)
tree2f7ad35411c29c15199f2498bb43571047c0d066 /libmproxy/proxy/modes/http_proxy.py
parent1f6d05f89fada5fe360aa79abfa80a3c91ce54da (diff)
downloadmitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.tar.gz
mitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.tar.bz2
mitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.zip
remove ServerConnectionMixin.reconnect
Diffstat (limited to 'libmproxy/proxy/modes/http_proxy.py')
-rw-r--r--libmproxy/proxy/modes/http_proxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/proxy/modes/http_proxy.py b/libmproxy/proxy/modes/http_proxy.py
index 90c54cc6..c7502c24 100644
--- a/libmproxy/proxy/modes/http_proxy.py
+++ b/libmproxy/proxy/modes/http_proxy.py
@@ -10,7 +10,7 @@ class HttpProxy(Layer, ServerConnectionMixin):
layer()
finally:
if self.server_conn:
- self._disconnect()
+ self.disconnect()
class HttpUpstreamProxy(Layer, ServerConnectionMixin):
@@ -23,4 +23,4 @@ class HttpUpstreamProxy(Layer, ServerConnectionMixin):
layer()
finally:
if self.server_conn:
- self._disconnect()
+ self.disconnect()