directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r159975 - directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java
Date Mon, 04 Apr 2005 01:21:20 GMT
Author: trustin
Date: Sun Apr  3 18:21:18 2005
New Revision: 159975

URL: http://svn.apache.org/viewcvs?view=rev&rev=159975
Log:
Fixed DIRMINA-13: SocketConnector connection timeout not respected

Modified:
    directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java

Modified: directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java?view=diff&r1=159974&r2=159975
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/io/socket/SocketConnector.java Sun Apr
 3 18:21:18 2005
@@ -266,7 +266,7 @@
             {
                 try
                 {
-                    int nKeys = selector.select();
+                    int nKeys = selector.select( 1000 );
 
                     registerNew();
                     



Mime
View raw message