jiafu1115 commented on PR #2236:
URL: https://github.com/apache/zookeeper/pull/2236#issuecomment-2728913907

   the root cause for the error throw is cause by:
   when closing the server. the follow code don't have chance to get executed.
     bb = ByteBuffer.allocate(len); 
   so the remain message (body) will be taken as the head msg again and parsed 
again for the header. 
   the body length is not right now. sometimes it over the max size.
   So I move the server status check before the length check.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to