jgit/org.eclipse.jgit.ssh.apache
Thomas Wolf d69fb4d4ac Revert "Client-side protocol V2 support for fetching"
This reverts commit f802f06e7f.

I had misunderstood how protocol V2 works. This implementation only
works if the negotiation during fetch is done in one round.

Fixing this is substantial work in BasePackFetchConnection. Basically
I think I'd have to change back negotiate to the V0 version, and have
a doFetch() that does

  if protocol V2
    doFetchV2()
  else
    doFetchV0()

with doFetchV0 the old code, and doFetchV2 completely new.

Plus there would need to be a HTTP test case requiring several
negotiation rounds.

This is a couple of days work at least, and I don't know when I will
have the time to revisit this. So although the rest of the code is
fine I prefer to back this out completely and not leave a only half
working implementation in the code for an indeterminate time.

Bug: 553083
Change-Id: Icbbbb09882b3b83f9897deac4a06d5f8dc99d84e
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-11-03 23:50:21 +01:00
..
.settings Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
META-INF sshd: support the ProxyJump ssh config 2020-09-19 15:17:00 -04:00
resources sshd: better error report when user cancels authentication 2020-09-26 23:34:02 +02:00
src/org/eclipse/jgit Revert "Client-side protocol V2 support for fetching" 2020-11-03 23:50:21 +01:00
.classpath Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.fbprefs Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.gitignore Apache MINA sshd client 2018-11-13 10:49:26 -08:00
.project Apache MINA sshd client 2018-11-13 10:49:26 -08:00
BUILD Merge branch 'stable-5.3' into stable-5.4 2019-09-08 15:05:19 +02:00
about.html Apache MINA sshd client 2018-11-13 10:49:26 -08:00
build.properties Apache MINA sshd client 2018-11-13 10:49:26 -08:00
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Prepare 5.10.0-SNAPSHOT builds 2020-08-27 16:14:36 +02:00