diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-02-25 21:11:09 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-02-25 21:11:09 +1300 |
commit | f30df13384b1c31ee7bcd78b0caea37043434bcf (patch) | |
tree | 54cb5919df82fa7ac697fc2fee5b71e55ba057d0 /netlib/test.py | |
parent | 97e11a219fb2a752d5b726b203874101d7ab651c (diff) | |
download | mitmproxy-f30df13384b1c31ee7bcd78b0caea37043434bcf.tar.gz mitmproxy-f30df13384b1c31ee7bcd78b0caea37043434bcf.tar.bz2 mitmproxy-f30df13384b1c31ee7bcd78b0caea37043434bcf.zip |
Make sni_handler an argument to BaseHandler.convert_to_ssl
Diffstat (limited to 'netlib/test.py')
-rw-r--r-- | netlib/test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netlib/test.py b/netlib/test.py index 7d24d80e..3378279b 100644 --- a/netlib/test.py +++ b/netlib/test.py @@ -62,6 +62,7 @@ class TServer(tcp.TCPServer): self.ssl["key"], method = method, options = options, + handle_sni = getattr(h, "handle_sni", None) ) h.handle() h.finish() |