Skip to content

Commit

Permalink
Merge pull request #965 from malinGH/update_bytebuff_clear
Browse files Browse the repository at this point in the history
add frame clear
  • Loading branch information
mrniko authored Oct 31, 2024
2 parents 5cce222 + c162552 commit 0238b47
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ private void parseBody(ClientHead head, ByteBuf frame, Packet packet) throws IOE
ByteBufInputStream in = new ByteBufInputStream(frame);
AckArgs args = jsonSupport.readAckArgs(in, callback);
packet.setData(args.getArgs());
}else {
frame.clear();
}
}

Expand Down

0 comments on commit 0238b47

Please sign in to comment.