summaryrefslogtreecommitdiff
path: root/contrib/examples/git-whatchanged.sh
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2013-10-12 22:29:40 +0000
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2013-10-14 07:03:59 -0700
commita15d069a19867b9c508ccfca5702f36448e829e8 (patch)
treea2a85f65e195cbcc499edeb6b3e6bf55d2d1ce3a /contrib/examples/git-whatchanged.sh
parentenable SO_KEEPALIVE for connected TCP sockets (diff)
downloadtgif-a15d069a19867b9c508ccfca5702f36448e829e8.tar.xz
http: enable keepalive on TCP sockets
This is a follow up to commit e47a8583 (enable SO_KEEPALIVE for connected TCP sockets, 2011-12-06). 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. I noticed this problem with some non-interactive cronjobs getting hung when talking to HTTP servers. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'contrib/examples/git-whatchanged.sh')
0 files changed, 0 insertions, 0 deletions