[issue34747] SSLSocket.context cannot be changed on non-connected sockets

Vincent Pelletier report at bugs.python.org
Sun Mar 21 22:40:15 EDT 2021


Vincent Pelletier <vincent at nexedi.com> added the comment:

Added: affects Python 3.9

This bug is still preventing (...or shall I say "discourages", as the setter is effective but raises) server-side SSL certificate reloading on long-running services.
This codepath on listening sockets is necessary for seamless certificate renewal, so the new certificate is used on any accepted connection past the setter call.

Is there anything that needs to be changed to the fix I proposed ?
Should I open a merge/pull request somewhere ?

----------
versions: +Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34747>
_______________________________________


More information about the Python-bugs-list mailing list