[issue34975] start_tls() difficult when using asyncio.start_server()
Ian Good
report at bugs.python.org
Thu May 9 19:42:39 EDT 2019
Ian Good <icgood at gmail.com> added the comment:
I added start_tls() to StreamWriter. My implementation returns a new StreamWriter that should be used from then on, but it could be adapted to modify the current writer in-place (let me know).
I've added docs, an integration test, and done some additional "real-world" testing with an IMAP server I work on. Specifically, "openssl s_client -connect xxx -starttls imap" works like a charm, and no errors/warnings are logged on disconnect.
----------
type: -> enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34975>
_______________________________________
More information about the Python-bugs-list
mailing list