Mercurial > hg
diff doc/runrst @ 29224:7424f4294199
sslutil: require serverhostname argument (API)
All callers now specify it. So we can require it.
Requiring the argument means SNI will always work if supported
by Python.
The main reason for this change is to store state on the socket
instance to make the validation function generic. This will be
evident in subsequent commits.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 05 May 2016 19:10:18 -0700 |
parents | 18c6b271579b |
children | 4e4fae1dda5c |