[Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my!

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


Antoine Pitrou <antoine <at> python.org> writes:

> 
> You mean for use with SSL_set_app_data?

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