summaryrefslogtreecommitdiff
path: root/patch-ids.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2011-12-06 04:39:36 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-05 21:06:53 -0800
commite47a8583a20256851e7fc882233e3bd5bf33dc6e (patch)
tree0bdef533393b087b3fc6d560f57289d220a787c7 /patch-ids.c
parentstripspace: fix outdated comment (diff)
downloadtgif-e47a8583a20256851e7fc882233e3bd5bf33dc6e.tar.xz
enable SO_KEEPALIVE for connected TCP sockets
Sockets may never receive notification of some link errors, causing "git fetch" or similar processes to hang forever. Enabling keepalive messages allows hung processes to error out after a few minutes/hours depending on the keepalive settings of the system. This is a problem noticed when running non-interactive cronjobs to mirror repositories using "git fetch". Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'patch-ids.c')
0 files changed, 0 insertions, 0 deletions