[Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my! (original) (raw)

Alex Gaynor alex.gaynor at gmail.com
Wed Jul 23 23:10:39 CEST 2014


Antoine Pitrou <antoine python.org> writes:

You mean for use with SSLsetappdata?

Yes, if you look in _servername_callback, you can see where it uses SSL_get_app_data and then reads ssl->Socket, which is supposed to be the same object that's returned by context.wrap_socket().

Alex



More information about the Python-Dev mailing list