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 Michele Comitini
Recipients Michele Comitini
Date 2015-08-21.09:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440149579.35.0.0331898658282.issue24906@psf.upfronthosting.co.za>
In-reply-to
Content
When sending a message larger than 4096 bytes with smtpd on a ssl socket, everything hangs.

This is due to polling before synchronizing the SSL channel with the underlying socket.

The issue can be solved by properly modifying the poll function and handling the SSLWantRead exception.

I provide 2 (Debug)SMTPServer implementations and one client to show the error and the workaround all using ssl.

The workaround is not correct semantically but fixes the poll function behavior correctly.
History
Date User Action Args
2015-08-21 09:32:59Michele Comitinisetrecipients: + Michele Comitini
2015-08-21 09:32:59Michele Comitinisetmessageid: <1440149579.35.0.0331898658282.issue24906@psf.upfronthosting.co.za>
2015-08-21 09:32:59Michele Comitinilinkissue24906 messages
2015-08-21 09:32:59Michele Comitinicreate