git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clone hang prevention / timeout?
@ 2016-04-11 21:49 Jason Vas Dias
  2016-04-12  8:01 ` Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jason Vas Dias @ 2016-04-11 21:49 UTC (permalink / raw)
  To: git

It appears GIT has no way of specifying a timeout for a clone operation -
if the server decides not to complete a get request, the clone can
hang forever -
is this correct ?
This appears to be what I am seeing, in a script that is attempting to do many
successive clone operations, eg. of
git://anongit.freedesktop.org/xorg/* , the script
occasionally hangs in a clone - I can see with netstat + strace that the TCP
connection is open and GIT is trying to read .
Is there any option I can specify to get the clone to timeout, or do I manually
have to strace the git process and send it a signal after a hang is detected?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-30  9:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-11 21:49 clone hang prevention / timeout? Jason Vas Dias
2016-04-12  8:01 ` Eric Wong
2016-04-13 22:24 ` Jeff King
2016-04-13 22:29 ` Jeff King
2016-04-14 18:32   ` Jason Vas Dias
2016-04-30  9:04     ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).