[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-05-08 Thread Dmitry Dvoinikov
Dmitry Dvoinikov dmi...@targeted.org added the comment: Checked out and built revision 80956 of py3k against OpenSSL 0.9.8n. Here is the banner: Python 3.2a0 (py3k:80956, May 8 2010, 11:31:45) [MSC v.1500 32 bit (Intel)] on win32 Now, the breaking script appears not to be breaking any more,

[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4171 ___ ___

[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-05-07 Thread Dmitry Dvoinikov
Dmitry Dvoinikov dmi...@targeted.org added the comment: Well, I'm sorry to bring this up again, but the problem persists with Python 3.1.2 (x86, Windows XP). The difference with the test script behaviour is that now it doesn't break every time. Perhaps this is the reason I said the problem was

[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-04-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, so I think we can close the issue then. Thank you! -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4171

[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-04-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: What happens if you remove the call to settimeout()? Also, it would be nice if you could try with the latest py3k checkout. There's a couple of fixes for do_handshake there (including timeout issues). -- nosy: +pitrou priority: - normal

[issue4171] SSL handshake fails after TCP connection in getpeername()

2010-04-25 Thread Dmitry Dvoinikov
Dmitry Dvoinikov dmi...@targeted.org added the comment: The problem does not reproduce in 3.1.1 nor in 3.1.2 (either x86 or x64). Antoine Pitrou пишет: Antoine Pitrou pit...@free.fr added the comment: What happens if you remove the call to settimeout()? Also, it would be nice if you could

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: (I tried your code on Linux and no exception is raised) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread Dmitry Dvoinikov
Dmitry Dvoinikov [EMAIL PROTECTED] added the comment: 1.py == test.py obviously :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___ ___ Python-bugs-list

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: I'm unable to reproduce the bug on Python 3.0 svn trunk. Can you retry with Python 3.0rc2 please? -- nosy: +haypo ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread Dmitry Dvoinikov
Dmitry Dvoinikov [EMAIL PROTECTED] added the comment: Same thing on Python 3.0rc2: C:\TEMPpython test.py worked so far Traceback (most recent call last): File 1.py, line 23, in module test_handshake(address, False) File 1.py, line 17, in test_handshake ssl.do_handshake() File

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread Todd Whiteman
Changes by Todd Whiteman [EMAIL PROTECTED]: -- nosy: +twhitema ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___ ___ Python-bugs-list mailing list

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-10-24 Thread Bill Janssen
Changes by Bill Janssen [EMAIL PROTECTED]: -- assignee: - janssen ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___ ___ Python-bugs-list mailing

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-10-23 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola, janssen ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4171 ___ ___

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-10-22 Thread Dmitry Dvoinikov
New submission from Dmitry Dvoinikov [EMAIL PROTECTED]: If I connect a TCP socket s using regular s.connect(), then wrap it using ssl.wrap_socket(s) and call do_handshake on the resulting SSL socket, handshake fails in ssl.py:320 with AttributeError: 'NoneType' object has no attribute