Merge branch 'ew/daemon-socket-keepalive' into maint
commit0a20325a01d089d8274aa4be05d79e6c157e1319
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Jun 2016 16:56:22 +0000 (27 09:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Jun 2016 16:56:22 +0000 (27 09:56 -0700)
tree6387b48fe601db9936bd788783c2f8e79fd7867f
parent05219a1276341e72d8082d76b7f5ed394b7437a4
parenta43b68a196652a0c6b054ee4905ac98d1cdcbbb9
Merge branch 'ew/daemon-socket-keepalive' into maint

When "git daemon" is run without --[init-]timeout specified, a
connection from a client that silently goes offline can hang around
for a long time, wasting resources.  The socket-level KEEPALIVE has
been enabled to allow the OS to notice such failed connections.

* ew/daemon-socket-keepalive:
  daemon: enable SO_KEEPALIVE for all sockets