[issue12378] smtplib.SMTP_SSL leaks socket connections on SSL error

Giampaolo Rodola' report at bugs.python.org
Sun Jun 29 14:39:52 CEST 2014


Giampaolo Rodola' added the comment:

> @Giampaolo can you add anything to this?

As for smptd encoding error I think a reasonable thing to do would be to reply with "501 Can't decode command.". There's no way for the server to return a more specific error message (e.g. "SSL is not supported"). ...And just for clarity/completeness, smtpd module cannot support SSL because asyncore doesn't.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12378>
_______________________________________


More information about the Python-bugs-list mailing list