Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: SSL handshake hanging, despite bugfix in stdlib

Thread Tools

Re: SSL handshake hanging, despite bugfix in stdlib

Terry Reedy
Posts: n/a
On 6/23/2012 1:29 PM, Michael Gundlach wrote:
> Hello,
> fixed a bug in Python2.6 where SSL's

I believe the fix first appeared in 2.6.6.

> handshake would hang indefinitely if the remote end hangs.
> However, I'm getting hanging behavior in an IMAP script. When I Ctrl-C
> it after hours of hanging, I get the same stacktrace as reported in
> , though Antoine said that
> r80452 fixed issue 5103 as well as this bug.

He claimed that it should fix 1251, but I cannot see that there was a
dependable code for making the problem appear.

> (This behavior started only in the last couple of weeks after a longer
> period working correctly, so I suspect something changed on GMail's end
> to trigger the bug.)


> Am I do something wrong, or is this bug still not fixed? Any pointers
> would be appreciated. Python 2.6.6 (r266:84292, Dec 7 2011, 20:48:22)
> on 64-bit Linux 2.6.32.
> Michael

If you want any attention from developers, you will have to show a
problem with 2.7.3 or latest 3.2+. I do not know that there is much
change in 2.7, but I know there is more in change in 3.3 (the
do_handshake call is moved and has a different context.

Terry Jan Reedy

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SSL handshake hanging, despite bugfix in stdlib Terry Reedy Python 0 06-25-2012 08:19 PM
ssl handshake error G. Garrett Campbell Java 3 03-03-2008 10:38 AM
Python server j2me client ssl socket handshake error Python 0 11-16-2007 10:31 AM
Verifying an assumption around possible problem areas in SSL handshake Java 3 06-21-2006 05:40 AM
question on handshake with ssl connection Jakekeke Java 0 10-19-2004 08:25 AM