From: Junio C Hamano Date: Wed, 25 May 2016 22:44:31 GMT Subject: Re: [PATCH] daemon: enable SO_KEEPALIVE for all sockets Message-ID: In-Reply-To: <20160525031505.5720-1-e@80x24.org> Eric Wong writes: > While --init-timeout and --timeout options exist and I've never > run git-daemon without them, some users may forget to set them > and encounter hung daemon processes when connections fail. > Enable socket-level timeouts so the kernel can send keepalive > probes as necessary to detect failed connections. > > Signed-off-by: Eric Wong > --- This makes sense as a follow-up to e47a8583 (enable SO_KEEPALIVE for connected TCP sockets, 2011-12-06), I think.