[issue27391] server_hostname should only be required when checking host names

Yury Selivanov report at bugs.python.org
Wed Jun 29 10:57:52 EDT 2016


Yury Selivanov added the comment:

> SSL contexts, https://docs.python.org/3/library/ssl.html#ssl-contexts,
have an attribute, check_hostname, which controls whether hostname checking is required. If set to false in a context passed to create_connection, then it makes no sense to require server_hostname under any circumstances.

This makes sense.  I'm reopening this issue.  Jim, would you be able to submit a PR to github/python/asyncio?

----------
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27391>
_______________________________________


More information about the Python-bugs-list mailing list