New submission from Michele Comitini: 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. ---------- components: Library (Lib) files: async-ssl-bug.zip messages: 248946 nosy: Michele Comitini priority: normal severity: normal status: open title: asyncore asynchat hanging on ssl type: crash versions: Python 2.7 Added file: http://bugs.python.org/file40218/async-ssl-bug.zip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24906> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com