[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
- Previous message: [Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my!
- Next message: [Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my!
- Next message: [Python-Dev] [PEP466] SSLSockets, and sockets, _socketobjects oh my!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]