Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24380
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: SSL handshake hanging, despite bugfix in stdlib |
| Date | 2012-06-24 01:12 -0400 |
| References | <CAALP9A==QpaYkVYB0ACk1D3wVQ-_CQFcc6U=Bz=ADy7m06=EPA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1439.1340514787.4697.python-list@python.org> (permalink) |
On 6/23/2012 1:29 PM, Michael Gundlach wrote: > Hello, > > http://bugs.python.org/issue5103 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 > http://bugs.python.org/issue1251#msg72363 , 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.) Possible. > 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: SSL handshake hanging, despite bugfix in stdlib Terry Reedy <tjreedy@udel.edu> - 2012-06-24 01:12 -0400
csiph-web