diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-05-15 17:01:49 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-05-19 11:43:42 -0700 |
commit | 2e961989e42b1fe7e8bd9eaa7a3d2e88a0d1d001 (patch) | |
tree | 97d8b4f2f80706f0edc3192dc8eefb4e51abe7c3 /org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkRemoteObjectDatabase.java | |
parent | b3247ba5244d95e0d2c850a3fa1f69668a5790f5 (diff) | |
download | jgit-2e961989e42b1fe7e8bd9eaa7a3d2e88a0d1d001.tar.gz jgit-2e961989e42b1fe7e8bd9eaa7a3d2e88a0d1d001.zip |
Fix SSH deadlock during OutOfMemoryError
In close() method of SshFetchConnection and SshPushConnection
errorThread.join() can wait forever if JSch will not close the
channel's error stream. Join with a timeout, and interrupt the
copy thread if its blocked on data that will never arrive.
Bug: 312863
Change-Id: I763081267653153eed9cd7763a015059338c2df8
Reported-by: Dmitry Neverov <dmitry.neverov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkRemoteObjectDatabase.java')
0 files changed, 0 insertions, 0 deletions