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

   Fix #4503 
   
   ### Motivation
   
   As discussed in the referred issue, this PR aims to avoid the endless loop 
which will happen if the dest ByteBuf passed to the BufferedChannel's read has 
less remaining writable bytes than the amount of bytes required to read (read's 
"length" parameter)
   
   ### Changes
   
   Now, BufferedChannel.read() throws an exception if dest. buf. writableBytes 
is less than length
   


-- 
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