aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-03-02 22:15:53 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-03-02 22:15:53 +1300
commit32af66881465ae98a53665c8ddd42c02aaf492f7 (patch)
tree8984887a813e48cd0f64e8e9896f6889f27a9287 /libmproxy/proxy.py
parent875f5f8cb65a254c40816e7cda0e4be96384ac16 (diff)
downloadmitmproxy-32af66881465ae98a53665c8ddd42c02aaf492f7.tar.gz
mitmproxy-32af66881465ae98a53665c8ddd42c02aaf492f7.tar.bz2
mitmproxy-32af66881465ae98a53665c8ddd42c02aaf492f7.zip
Minor cleanups.
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index b787386a..b0fb9449 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -387,7 +387,6 @@ class ConnectionHandler:
if self.client_conn.ssl_established:
raise ProxyError(502, "SSL to Client already established.")
dummycert = self.find_cert()
- print self.config.ciphers
self.client_conn.convert_to_ssl(
dummycert,
self.config.keyfile or self.config.cacert,
@@ -469,7 +468,6 @@ class ProxyServerError(Exception):
class ProxyServer(tcp.TCPServer):
allow_reuse_address = True
bound = True
-
def __init__(self, config, port, host='', server_version=version.NAMEVERSION):
"""
Raises ProxyServerError if there's a startup problem.