]> source.dussan.org Git - jgit.git/commit
Fix hang when fetching over SSH 96/696/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 13 May 2010 17:23:33 +0000 (10:23 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 13 May 2010 17:23:33 +0000 (10:23 -0700)
commit3cba5377dfdad8c36d1f3b0642f56549821b8676
treee8a045cdc9992bb1a1996b4d8f6c74d0724f9077
parentf999b4aa63289cc5fb2941e9fa5f47e742e23fac
Fix hang when fetching over SSH

JSch may hang or abort with the timeout if JGit connects before
its obtained the streams.  Instead defer the connect() call until
after the streams have been configured.

Bug: 312383
Change-Id: I7c3a687ba4cb69a41a85e2b60d381d42b9090e3f
Reported-by: Dmitry Neverov <dmitry.neverov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java