Antoine Pitrou <pit...@free.fr> added the comment: > ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) > ctx.set_tlsext_host_name("foo.bar")
Well, the hostname should be specific to a connection, so I'm not sure it makes sense to set it on the context. (besides, the OpenSSL APIs only allow it to be set on the SSL structure) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5639> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com