Message221383
| 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$ |
|