Skip to content

Commit

Permalink
add modify way in message.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Feb 18, 2021
1 parent dd43cf9 commit 84922c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void updateLastSendAndHeard() {
void readLength() throws IOException {
int len = incomingBuffer.getInt();
if (len < 0 || len >= packetLen) {
throw new IOException("Packet len " + len + " is out of range " + packetLen + "!");
throw new IOException("Packet len " + len + " is out of range " + packetLen + "! -Djute.maxBuffer to cover it.");
}
incomingBuffer = ByteBuffer.allocate(len);
}
Expand Down

0 comments on commit 84922c4

Please sign in to comment.