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

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you! -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

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

2010-05-07 Thread Dmitry Dvoinikov
Dmitry Dvoinikov 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, even though I trie

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

2010-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Are you able to compile a fresh checkout of either the py3k or release3.1-maint branch? A bunch of fixes have been committed recently, some of which may (or even should) address your issue. -- ___ Python tracker <

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

2010-05-07 Thread Dmitry Dvoinikov
Dmitry Dvoinikov 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 gone. In fact, now th

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

2010-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, so I think we can close the issue then. Thank you! -- resolution: -> out of date status: open -> closed ___ Python tracker ___

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

2010-04-25 Thread Dmitry Dvoinikov
Dmitry Dvoinikov 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 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 check

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

2010-04-25 Thread Antoine Pitrou
Antoine Pitrou 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 versions: +Py

[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]> ___ ___ Python-bugs-l

[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:\TEMP>python test.py worked so far Traceback (most recent call last): File "1.py", line 23, in test_handshake(address, False) File "1.py", line 17, in test_handshake ssl.do_handshake() File "C:\

[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]> ___

[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]> _

[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]> ___ ___ Python-bugs-list mailing

[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]> ___ ___ Python-bugs-list ma

[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]> ___ ___ Pyt

[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 'do_han