directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: rev 56610 - incubator/directory/seda/trunk/src/java/org/apache/seda/listener
Date Thu, 04 Nov 2004 17:04:20 GMT
Author: trustin
Date: Thu Nov  4 09:04:20 2004
New Revision: 56610

Modified:
   incubator/directory/seda/trunk/src/java/org/apache/seda/listener/UDPListenerManager.java
Log:
Fixed: UDPListener didn't flip the bytebuffer after reads

Modified: incubator/directory/seda/trunk/src/java/org/apache/seda/listener/UDPListenerManager.java
==============================================================================
--- incubator/directory/seda/trunk/src/java/org/apache/seda/listener/UDPListenerManager.java
(original)
+++ incubator/directory/seda/trunk/src/java/org/apache/seda/listener/UDPListenerManager.java
Thu Nov  4 09:04:20 2004
@@ -331,7 +331,8 @@
                         buf = bp.getBuffer(this);
                         clientAddress =
                             (InetSocketAddress) channel.receive(buf);
-
+                        
+                        buf.flip();
                         if (clientAddress != null)
                         {
                             read = true;

Mime
View raw message