mercurial/hgweb/server.py
changeset 26202 04af43009c8b
parent 25660 328739ea70c3
child 26587 56b2bcea2529
equal deleted inserted replaced
26201:c5b2074ae8c0 26202:04af43009c8b
   237         except (OpenSSL.SSL.SysCallError, OpenSSL.SSL.ZeroReturnError):
   237         except (OpenSSL.SSL.SysCallError, OpenSSL.SSL.ZeroReturnError):
   238             self.close_connection = True
   238             self.close_connection = True
   239             pass
   239             pass
   240 
   240 
   241 class _httprequesthandlerssl(_httprequesthandler):
   241 class _httprequesthandlerssl(_httprequesthandler):
   242     """HTTPS handler based on Pythons ssl module (introduced in 2.6)"""
   242     """HTTPS handler based on Python's ssl module"""
   243 
   243 
   244     url_scheme = 'https'
   244     url_scheme = 'https'
   245 
   245 
   246     @staticmethod
   246     @staticmethod
   247     def preparehttpserver(httpserver, ssl_cert):
   247     def preparehttpserver(httpserver, ssl_cert):