Mercurial > public > mercurial-scm > hg-stable
diff mercurial/exthelper.py @ 50318:3bb7c56e8fe6 stable
url: don't ignore timeout for https connections
For http, we use the stdlib's HTTPConnection.connect which passes the
timeout down to socket.create_connection; for https, we override the
connect method but weren't handling the timeout, so connections could
hang for hours even with http.timeout set to low values.
author | Julien Cristau <jcristau@mozilla.com> |
---|---|
date | Tue, 21 Mar 2023 15:27:03 +0100 |
parents | 642e31cb55f0 |
children | d9e22b39041a |