author | Junio C Hamano <junkio@cox.net> | |
Thu, 25 May 2006 04:48:34 +0000 (21:48 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 25 May 2006 05:30:56 +0000 (22:30 -0700) | ||
commit | f061e5fdd6a65216976a8bd547b2340e6297217b | |
tree | fac4d3a1626241087c74d06f191bbeab00a9549f | tree | snapshot |
parent | ed90cbf5f681c0144909457be3f4792b47604a5b | commit | diff |
fetch-pack: give up after getting too many "ack continue"
If your repository have more roots than the remote repository
you ask an object for, the remote upload-pack keeps responding
"ack continue" until it fills up its received-have buffer
(currently 256 entries). Usually this is not a problem because
the requester stops traversing the ancestry chain from the commit
it gets "ack continue" for, but this mechanism does not work as
a roadblock when it traverses down the path to the root the
other side does not have.
Signed-off-by: Junio C Hamano <junkio@cox.net>
If your repository have more roots than the remote repository
you ask an object for, the remote upload-pack keeps responding
"ack continue" until it fills up its received-have buffer
(currently 256 entries). Usually this is not a problem because
the requester stops traversing the ancestry chain from the commit
it gets "ack continue" for, but this mechanism does not work as
a roadblock when it traverses down the path to the root the
other side does not have.
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-pack.c | diff | blob | history |