Show More
@@ -275,14 +275,13 b' class http2handler(urllib2.HTTPHandler, ' | |||
|
275 | 275 | if '[' in host: |
|
276 | 276 | host = host[1:-1] |
|
277 | 277 | |
|
278 |
|
|
|
279 |
|
|
|
280 | if certfile: | |
|
281 | kwargs['certfile'] = certfile | |
|
278 | kwargs['keyfile'] = keyfile | |
|
279 | kwargs['certfile'] = certfile | |
|
282 | 280 | |
|
283 | 281 | kwargs.update(sslutil.sslkwargs(self.ui, host)) |
|
284 | 282 | |
|
285 | 283 | con = HTTPConnection(host, port, use_ssl=True, |
|
284 | ssl_wrap_socket=sslutil.ssl_wrap_socket, | |
|
286 | 285 | ssl_validator=sslutil.validator(self.ui, host), |
|
287 | 286 | **kwargs) |
|
288 | 287 | return con |
General Comments 0
You need to be logged in to leave comments.
Login now