comparison mercurial/debugcommands.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 af776c3d5c3e
children a45460e235a2 ed052780ad5e
comparison
equal deleted inserted replaced
50317:af776c3d5c3e 50318:3bb7c56e8fe6