directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r158286 - directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java
Date Sun, 20 Mar 2005 03:18:21 GMT
Author: trustin
Date: Sat Mar 19 19:18:20 2005
New Revision: 158286

URL: http://svn.apache.org/viewcvs?view=rev&rev=158286
Log:
Modified IoHandlerFilterManager to ignore null buffer write request.

Modified:
    directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java

Modified: directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java?view=diff&r1=158285&r2=158286
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/util/IoHandlerFilterManager.java Sat
Mar 19 19:18:20 2005
@@ -245,6 +245,11 @@
     public void write( IoSession session, WriteCommand cmd, ByteBuffer buf,
                       Object marker )
     {
+        if( buf == null )
+        {
+            return;
+        }
+
         Entry e = tail;
         ByteBuffer newBuf;
         do



Mime
View raw message