Mercurial > hg
diff mercurial/setdiscovery.py @ 28849:1fde84d42f9c
sslutil: require a server hostname when wrapping sockets (API)
All callers appear to be passing the hostname. So this shouldn't
break anything. By specifying the hostname, more validation options
from the ssl module are available to us. Although this patch stops
short of using them.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 10 Apr 2016 11:00:41 -0700 |
parents | c3eacee01c7e |
children | bd872f64a8ba |