diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2015-09-03 17:01:25 +0200 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-03 17:01:25 +0200 |
| commit | f4272de5ec77fb57723e2274e4ddc50d73489e1e (patch) | |
| tree | 2f7ad35411c29c15199f2498bb43571047c0d066 /libmproxy/proxy/modes | |
| parent | 1f6d05f89fada5fe360aa79abfa80a3c91ce54da (diff) | |
| download | mitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.tar.gz mitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.tar.bz2 mitmproxy-f4272de5ec77fb57723e2274e4ddc50d73489e1e.zip | |
remove ServerConnectionMixin.reconnect
Diffstat (limited to 'libmproxy/proxy/modes')
| -rw-r--r-- | libmproxy/proxy/modes/http_proxy.py | 4 | ||||
| -rw-r--r-- | libmproxy/proxy/modes/reverse_proxy.py | 2 | ||||
| -rw-r--r-- | libmproxy/proxy/modes/socks_proxy.py | 2 | ||||
| -rw-r--r-- | libmproxy/proxy/modes/transparent_proxy.py | 2 |
4 files changed, 5 insertions, 5 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() diff --git a/libmproxy/proxy/modes/reverse_proxy.py b/libmproxy/proxy/modes/reverse_proxy.py index b57ac5eb..28f4e6f8 100644 --- a/libmproxy/proxy/modes/reverse_proxy.py +++ b/libmproxy/proxy/modes/reverse_proxy.py @@ -14,4 +14,4 @@ class ReverseProxy(Layer, ServerConnectionMixin): layer() finally: if self.server_conn: - self._disconnect() + self.disconnect() diff --git a/libmproxy/proxy/modes/socks_proxy.py b/libmproxy/proxy/modes/socks_proxy.py index ebaf939e..0efeab67 100644 --- a/libmproxy/proxy/modes/socks_proxy.py +++ b/libmproxy/proxy/modes/socks_proxy.py @@ -57,4 +57,4 @@ class Socks5Proxy(Layer, ServerConnectionMixin): layer() finally: if self.server_conn: - self._disconnect() + self.disconnect() diff --git a/libmproxy/proxy/modes/transparent_proxy.py b/libmproxy/proxy/modes/transparent_proxy.py index 96ad86c4..d99485c9 100644 --- a/libmproxy/proxy/modes/transparent_proxy.py +++ b/libmproxy/proxy/modes/transparent_proxy.py @@ -21,4 +21,4 @@ class TransparentProxy(Layer, ServerConnectionMixin): layer() finally: if self.server_conn: - self._disconnect() + self.disconnect() |
