hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r679983 - /hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java
Date Sat, 26 Jul 2008 12:14:39 GMT
Author: fpj
Date: Sat Jul 26 05:14:38 2008
New Revision: 679983

URL: http://svn.apache.org/viewvc?rev=679983&view=rev
Log:
JIRA issue 58. -F

Modified:
    hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java

Modified: hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java?rev=679983&r1=679982&r2=679983&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java (original)
+++ hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java Sat Jul 26 05:14:38
2008
@@ -649,6 +649,12 @@
                 primeConnection(sockKey);
             }
             initialized = false;
+            
+            /*
+             * Reset incomingBuffer
+             */
+            lenBuffer.clear();
+            incomingBuffer = lenBuffer;
         }
 
         @Override



Mime
View raw message