equal
deleted
inserted
replaced
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): |