diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-08-08 16:08:57 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-08-11 20:32:13 +0200 |
commit | 026330a3b014f24f095b839b29186036854de3bc (patch) | |
tree | c5770ef28332b61f56b5435136e8dcd95340ed1d /libmproxy/protocol2/messages.py | |
parent | 314e0f5839fcd4a1c35323f61938b207232de287 (diff) | |
download | mitmproxy-026330a3b014f24f095b839b29186036854de3bc.tar.gz mitmproxy-026330a3b014f24f095b839b29186036854de3bc.tar.bz2 mitmproxy-026330a3b014f24f095b839b29186036854de3bc.zip |
cleaner Exceptions, ssl -> tls, upstream proxy mode
Diffstat (limited to 'libmproxy/protocol2/messages.py')
-rw-r--r-- | libmproxy/protocol2/messages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/protocol2/messages.py b/libmproxy/protocol2/messages.py index baf4312d..3f53fbd4 100644 --- a/libmproxy/protocol2/messages.py +++ b/libmproxy/protocol2/messages.py @@ -32,9 +32,9 @@ class ChangeServer(_Message): Change the upstream server. """ - def __init__(self, address, server_ssl, sni, depth=1): + def __init__(self, address, server_tls, sni, depth=1): self.address = address - self.server_ssl = server_ssl + self.server_tls = server_tls self.sni = sni # upstream proxy scenario: you may want to change either the final target or the upstream proxy. |