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

Christian Heimes report at bugs.python.org
Mon Oct 15 04:36:48 EDT 2018


Christian Heimes <lists at cheimes.de> added the comment:

How did you run into the issue? There is no reason to ever replace the context of a listening socket. The context setter is designed for SNI-based virtual hosting to replace the context of a bound server-side connection. You never change the listening socket.

We can probably fix the issue, though.

----------
priority: normal -> low
versions: +Python 3.7, Python 3.8

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


More information about the Python-bugs-list mailing list