Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgd67 committed Oct 19, 2023
1 parent c952c1a commit b1e3047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ public DispatchRequest checkMessageAndReturnSize(java.nio.ByteBuffer byteBuffer,
} else {
if(byteBuffer.remaining()<bodyLen){
log.warn("bodyLen is {} but buffer remaining is {}",byteBuffer.remaining(),bodyLen);
//same as try read exception
//same as byteBuffer.get exception
throw new BufferUnderflowException();
}
byteBuffer.position(byteBuffer.position() + bodyLen);
Expand Down

0 comments on commit b1e3047

Please sign in to comment.