git-daemon: set SO_KEEPALIVE on git-daemon connections
commitb9224ad70d3aa1f721daf6f293a0e38b577bafab
authorKyle J. McKay <mackyle@gmail.com>
Thu, 19 Feb 2015 12:51:27 +0000 (19 04:51 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 19 Feb 2015 12:51:27 +0000 (19 04:51 -0800)
tree9e512f3065e9262e7b0d4a04b86c0930bb0fa032
parentc4791e5b296afa60da741e2b5992ce5ff429f26b
git-daemon: set SO_KEEPALIVE on git-daemon connections

This should prevent indefinite hanging when attempting to read
from a connection that is no longer connected thus avoiding an
accumulation of processes stuck in read.
src/peek_packet.c
xinetd/git