You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jc...@apache.org on 2008/06/10 14:53:35 UTC
svn commit: r666092 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Author: jcarman
Date: Tue Jun 10 05:53:35 2008
New Revision: 666092
URL: http://svn.apache.org/viewvc?rev=666092&view=rev
Log:
VFS-211: The SFTP Provider Should Use Daemon Threads
Also cleaned up the javadoc at the top a bit (it mentioned HttpClient).
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java?rev=666092&r1=666091&r2=666092&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java Tue Jun 10 05:53:35 2008
@@ -31,7 +31,7 @@
import java.util.Properties;
/**
- * Create a HttpClient instance
+ * Create a JSch Session instance
*
* @author <a href="mailto:imario@apache.org">Mario Ivankovits</a>
* @version $Revision$ $Date$
@@ -206,7 +206,7 @@
{
session.setConfig(config);
}
-
+ session.setDaemonThread(true);
session.connect();
}
catch (final Exception exc)