Skip to content

Commit 830771f

Browse files
author
Paulo Gomes
committed
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>
1 parent d425923 commit 830771f

File tree

2 files changed

+64
-324
lines changed

2 files changed

+64
-324
lines changed

0 commit comments

Comments
 (0)