Shoothzj opened a new pull request, #4020:
URL: https://github.com/apache/bookkeeper/pull/4020

   ### Motivation
   In the context of popular protocols like LengthBasedFrame, which typically 
determine total message length based on the first 0-4 bytes (for example, if 
the initial bytes are 00000014, the message length is 1*16+4 = 20), message 
tampering can cause serious issues. Specifically, any modification to the 
higher order bytes can lead to miscalculation of message length and leave the 
communication end waiting indefinitely without any ability to self-recover.
   
   In summary, in scenarios with message tampering, communication timeout can 
lead to an unrecoverable link.
   I think we can rebuild the client when timeout.
   
   ### Changes
   rebuild the **PerChannelBookieClient** when timeout.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to