[Python-Dev] ssl - how to switch back to a plain text socket?

Bill Janssen janssen at parc.com
Wed Feb 20 02:54:29 CET 2008


> But shouldn't there be a way to invoke SSL_shutdown? You need to get
> the close_notify alert message sent, IIUC.

Perhaps that would be nice, but switching to plain-text use of the
socket can be coordinated outside the SSL protocol.  I had an accessor
for SSL_shutdown, in an earlier version, but there were semantic
conflicts with the socket shutdown() method, and I didn't think anyone
would use it anyway :-).

Bill


More information about the Python-Dev mailing list