geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: rev 76008 - geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio
Date Tue, 16 Nov 2004 19:03:03 GMT
Author: adc
Date: Tue Nov 16 11:03:03 2004
New Revision: 76008

Modified:
   geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio/BlockingServer.java
Log:
Need to revisit this.

Modified: geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio/BlockingServer.java
==============================================================================
--- geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio/BlockingServer.java
(original)
+++ geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio/BlockingServer.java
Tue Nov 16 11:03:03 2004
@@ -141,7 +141,7 @@
             while (running) {
                 SocketChannel socket = null;
                 try {
-                    socket = serverSocketChannel.socket().accept().getChannel();
+                    socket = serverSocketChannel.accept();
                     if (log.isTraceEnabled())
                         log.trace("Accepted connection: " + socket);
                 } catch (java.io.InterruptedIOException e) {
@@ -197,8 +197,8 @@
             running = false;
             worker.interrupt();
         }
-        serverSocketChannel.close();
 
+        serverSocketChannel.close();
         super.dispose();
     }
 

Mime
View raw message