A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-February/076984.html below:

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

[Python-Dev] ssl - how to switch back to a plain text socket? [Python-Dev] ssl - how to switch back to a plain text socket?Bill Janssen janssen at parc.com
Tue Feb 19 17:42:04 CET 2008
> I've read through ssl.py but I didn't notice anything useful.
> It seems that ssl.SSLSocket class does not provide any method/facility
> to switch back to a plain text socket state.

I suggest using socket.dup(sslsock) to simply create a non-encrypted
copy of the socket, and switch to using that copy.  There's no way to
"unwrap" an SSLSocket.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4