diff options
author | Stefan Lay <stefan.lay@sap.com> | 2014-06-18 11:33:34 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-06-20 11:48:53 +0200 |
commit | 4b2b3294b8af9631ea66728baa2839fbcca630f5 (patch) | |
tree | 664e84c2daf71bd5f4a040e5351c20c6e44aa400 /org.eclipse.jgit/.settings | |
parent | 126eb94f77cd1ace3ece582d001fded286115f7b (diff) | |
download | jgit-4b2b3294b8af9631ea66728baa2839fbcca630f5.tar.gz jgit-4b2b3294b8af9631ea66728baa2839fbcca630f5.zip |
Allow retrying connecting SshSession in case of an exception
Connecting to an SshSession may fail due to different reasons. Jsch for
example often throws an com.jcraft.jsch.JschException: verify: false.[1]
The issue is still not fixed in JSch 0.1.51.
In such a case it is worth retrying to connect. The number of connection
attempts can be configured using ssh_config parameter
"ConnectionAttempts" [2].
Don't retry if the user canceled authentication.
[1] http://sourceforge.net/p/jsch/bugs/58/
[2] http://linux.die.net/man/5/ssh_config
Bug: 437656
Change-Id: I6dd2a3786b7d3f15f5a46821d8edac987a57e381
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters index 87a931c879..56c9ee68a0 100644 --- a/org.eclipse.jgit/.settings/.api_filters +++ b/org.eclipse.jgit/.settings/.api_filters @@ -7,6 +7,12 @@ <message_argument value="3.2.0"/> </message_arguments> </filter> + <filter comment="minor addition" id="924844039"> + <message_arguments> + <message_argument value="3.4.0"/> + <message_argument value="3.4.0"/> + </message_arguments> + </filter> </resource> <resource path="src/org/eclipse/jgit/transport/TransportHttp.java" type="org.eclipse.jgit.transport.TransportHttp"> <filter comment="Method is only used by implementers of TransportHttp's API, minor version are allowed to break implementer API according to OSGi semantic versioning (http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf)" id="338792546"> |