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/2003-July.txt below:

Hi,

I recently came across a bug in the SSL code in Modules/socketmodule.c.

Most of the SSL functions support python threads, but the the constructor function for the SSL session

does not.

This can hang a multi threaded application if the SSL_connect stalls / hangs / takes a really long time etc.

In my application, for example, this prevented me from cancelling an SSL connection to a badly routed destination,

since the GUI hanged.

Once I enabled threading support in that function in socketmodule.c, the problem was fixed.

Is there any reason for the SSL constructor to be thread unsafe?

Just thought I'd let you know.

PS: I'm not a subcriber to python-dev, could someone update me if / how this was resolved?


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