0d7d98620f
The negotiation in the git protocol contains a cutoff: if the client
has sent more than MAX_HAVES "have" lines without getting an ACK, it
gives up and sends a "done". MAX_HAVES is 256.
However, this cutoff must kick in only if at least one ACK has been
received. Otherwise the client may give up way too early, which makes
the server send all its history. See [1].
This was missed when protocol V2 was implemented for fetching in JGit
in commit
|
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
src/org/eclipse/jgit/http/test | ||
tst/org/eclipse/jgit | ||
.classpath | ||
.gitignore | ||
.project | ||
BUILD | ||
build.properties | ||
org.eclipse.jgit.http--All-Tests.launch | ||
plugin.properties | ||
pom.xml |