You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pe...@apache.org on 2005/12/14 22:59:24 UTC

svn commit: r356889 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java

Author: pero
Date: Wed Dec 14 13:58:18 2005
New Revision: 356889

URL: http://svn.apache.org/viewcvs?rev=356889&view=rev
Log:
compress flag is not need inside count packages!

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java?rev=356889&r1=356888&r2=356889&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java (original)
+++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/io/XByteBuffer.java Wed Dec 14 13:58:18 2005
@@ -158,8 +158,7 @@
             //if the header (START_DATA) isn't the first thing or
             //the buffer isn't even 14 bytes
             if ( index != start || ((bufSize-start)<14) ) break;
-            //then get the compress 4 bytes
-            int compress = toInt(buf, pos);
+            //next 4 bytes are compress flag not needed for count packages
             //then get the size 4 bytes
             int size = toInt(buf, pos+4);
             //now the total buffer has to be long enough to hold



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org