source-controller/pkg/git
Paulo Gomes ce92881013
libgit2: remove connection caching
Connection caching was a feature created to resolve
upstream issues raised from concurrent ssh connections.
Some scenarios were based on multiple key exchange
operations happening at the same time.

This PR removes the connection caching, and instead:
- Services Session.StdoutPipe() as soon as possible,
  as it is a known source of blocking SSH connections.
- Reuse SSH connection within the same subtransport,
  eliminating the need for new handshakes when talking
  with the same server.
- Simplifies the entire transport logic for better
  maintainability.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-13 11:09:02 +01:00
..
gogit gogit: use rem.ListContext instead of rem.List 2022-05-11 16:36:55 +01:00
libgit2 libgit2: remove connection caching 2022-05-13 11:09:02 +01:00
strategy tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
testdata/git/repo tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
git.go libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
git_test.go pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
options.go libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
options_test.go Add Host field check in AuthOptions.Validate() 2021-10-27 00:43:31 +05:30