[Python-Dev] SSL bug in socketmodule (original) (raw)
zaril@walla.co.il zaril@walla.co.il
Fri, 18 Jul 2003 03:42:08 +0300
- Previous message: [Python-Dev] cygwin errors
- Next message: [Python-Dev] SSL bug in socketmodule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--------=_WallaWebMail_38929_6299_Part_1000 Content-Type: text/plain
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?
Walla! Mail, Get Your Private, Free E-mail from Walla! at: http://mail.walla.co.il
--------=_WallaWebMail_38929_6299_Part_1000 Content-Type: text/html
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?
|
Walla! Mail, Get Your Private, Free E-mail from Walla! at:
>
--------=_WallaWebMail_38929_6299_Part_1000--
- Previous message: [Python-Dev] cygwin errors
- Next message: [Python-Dev] SSL bug in socketmodule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]