[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-09-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in trunk (r80452) and 2.6 (r80453). Also ported relevant parts to 3.x (one half of the test had to be disabled because or #8524). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch fixing test_poplib failures. -- Added file: http://bugs.python.org/file17058/ssltimeout2.patch ___ Python tracker ___

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch, with tests. I also had to rework the asyncore-based test server in test_ssl, and fixed an omission in _ssl.c's do_handshake method. (works with OpenSSL 0.9.8k and 1.0.0) -- keywords: +patch stage: -> patch review Added file: http://b

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Bill, I think we should move forward with this. Do you agree that removing the timeout dance is the right solution? -- nosy: +pitrou priority: -> high versions: +Python 2.7 ___ Python tracker

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-05 Thread David Andrzejewski
David Andrzejewski added the comment: I believe this issue may be responsible for causing a very long hang in my application. Here's an example of it hanging for 30 minutes. Yes - minutes. [UI] 2010-04-03 11:33:34,209 DEBUG: Communicating with GUI on 127.0.0.1:9095 - timeout 10 seconds [UI

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-05 Thread David Andrzejewski
Changes by David Andrzejewski : -- nosy: +dandrzejewski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-03-25 Thread Jim Duchek
Jim Duchek added the comment: This is happening 'in the wild' to me fairly regularly. Since it's not hanging in python, I can't watchdog/kill the thread it's happening in. matejcik seems correct on fixing this, there's no need to unset the timeout here. -- nosy: +Jim.Duchek ___

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-07-24 Thread jan matejek
jan matejek added the comment: i believe that the bug lies in bad implementation/backport of feature from 3.0 patch for issue1251. see this revision: http://svn.python.org/view/python/branches/release30-maint/Lib/ssl.py?r1=59339&r2=59340 where the code was added for py3k branch. the logic behi

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-07-23 Thread jan matejek
Changes by jan matejek : -- nosy: +matejcik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-05-25 Thread Vitaly Babiy
Vitaly Babiy added the comment: Why not just remove the removal of the timeout. -- nosy: +vbabiy ___ Python tracker ___ ___ Python-bug

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-01-30 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> janssen nosy: +janssen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-01-30 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-01-29 Thread Jacques Grove
New submission from Jacques Grove : In ssl.py of Python 2.6.1 we have this code in SSLSocket.__init__(): if do_handshake_on_connect: timeout = self.gettimeout() try: self.settimeout(None) self.do_handshake()