From: Eric Wong Date: Sun, 10 Nov 2013 20:17:51 GMT Subject: Re: Request: timeout option for remote operations, esp. "git fetch" Message-ID: <20131110201751.GA18513@dcvr.yhbt.net> In-Reply-To: <527BC8DC.7010108@zytor.com> "H. Peter Anvin" wrote: > When a remote server is unavailable or very slow, some git commands can > stall out indefinitely. It would be a very good thing if remote > commands -- but especially git fetch -- could be given a timeout. We've had SO_KEEPALIVE on git and ssh transports since e47a8583 (2011-12-06) SO_KEEPALIVE for http was added recently (a15d069a) and will be in git 1.8.5 Do you want a shorter timeout for slow (but still alive) servers?