This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bhm
Recipients BreamoreBoy, bhm, catalin.iacob, giampaolo.rodola, joeshaw, kasun, pitrou, r.david.murray
Date 2014-06-23.23:13:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403565191.07.0.426050752951.issue12378@psf.upfronthosting.co.za>
In-reply-to
Content
Not sure if this is still relevant, but I've supplied a python2.7 patch for this issue. All regression tests still pass and the underlying socket connection is closed:

bmorrow@xorange:~/cpython$ ./python -m smtpd -n -c DebuggingServer localhost:2525

>>> import smtplib
>>> s = smtplib.SMTP_SSL("localhost", 2525)
[...]
ssl.SSLError: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

bmorrow@xorange:~/cpython$ ps -ef | grep "./python"
bmorrow  19052 19742  0 19:08 pts/17   00:00:00 ./python

bmorrow@xorange:~/cpython$ lsof -P -p 19052 | grep 2525
bmorrow@xorange:~/cpython$ 

bmorrow@xorange:~/cpython$ lsof -P -p 19742 | grep 2525
bmorrow@xorange:~/cpython$
History
Date User Action Args
2014-06-23 23:13:11bhmsetrecipients: + bhm, pitrou, giampaolo.rodola, r.david.murray, joeshaw, BreamoreBoy, catalin.iacob, kasun
2014-06-23 23:13:11bhmsetmessageid: <1403565191.07.0.426050752951.issue12378@psf.upfronthosting.co.za>
2014-06-23 23:13:11bhmlinkissue12378 messages
2014-06-23 23:13:10bhmcreate