geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: rev 65589 - geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio
Date Sun, 14 Nov 2004 08:25:03 GMT
Author: ammulder
Date: Sun Nov 14 00:25:02 2004
New Revision: 65589

Modified:
   geronimo/trunk/modules/remoting/src/java/org/apache/geronimo/remoting/transport/async/bio/BlockingServer.java
Log:
Help the server shut down on certain Linux platforms


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
Sun Nov 14 00:25:02 2004
@@ -141,7 +141,7 @@
             while (running) {
                 SocketChannel socket = null;
                 try {
-                    socket = serverSocketChannel.accept();
+                    socket = serverSocketChannel.socket().accept().getChannel();
                     if (log.isTraceEnabled())
                         log.trace("Accepted connection: " + socket);
                 } catch (java.io.InterruptedIOException e) {

Mime
View raw message