diff mercurial/store.py @ 29554:4a7b0c696fbc

sslutil: implement wrapserversocket() wrapsocket() is heavily tailored towards client use. In preparation for converting the built-in server to use sslutil (as opposed to the ssl module directly), we add wrapserversocket() for wrapping a socket to be used on servers.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 14 Jul 2016 20:14:19 -0700
parents 81c38cb9c1a1
children 400dfded8a29
line wrap: on
line diff