source-controller/pkg/git/libgit2
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
..
managed libgit2: remove connection caching 2022-05-13 11:09:02 +01:00
checkout.go libgit2: return func to help callers free git2go objects 2022-05-11 13:02:27 +01:00
checkout_test.go libgit2: recover from panic in short-circuited clones 2022-05-11 11:40:08 +01:00
libgit2.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
managed_test.go tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
transport.go Implement Managed Transport for libgit2 2022-03-16 16:22:20 +05:30
transport_test.go Upgrade libgit2 to libgit2-1.3.0-2 2022-02-16 11:39:11 +00:00