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 vstinner
Recipients gvanrossum, python-dev, vstinner, yselivanov
Date 2015-01-16.00:19:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421367571.45.0.0654328262826.issue23243@psf.upfronthosting.co.za>
In-reply-to
Content
> Some ResourceWarning are still emited on SSL server tests.

Attached server_close.patch is a work-in-process patch to fix this issue on Linux.

If I understood correctly, there are two issues:

- SelectorEventLoop._accept_connection() doesn't care of the creation of the transport failed
- SSLProtocol.eof_received() does not notify the waiter that EOF was received

So an application cannot control SSL incoming connections which fail during the handshake? Control: log errors, do something with the socket, etc.

See also the STARTTLS feature request:
https://code.google.com/p/tulip/issues/detail?id=79
History
Date User Action Args
2015-01-16 00:19:31vstinnersetrecipients: + vstinner, gvanrossum, python-dev, yselivanov
2015-01-16 00:19:31vstinnersetmessageid: <1421367571.45.0.0654328262826.issue23243@psf.upfronthosting.co.za>
2015-01-16 00:19:31vstinnerlinkissue23243 messages
2015-01-16 00:19:31vstinnercreate