aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/modes/http_proxy.py
diff options
context:
space:
mode:
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()