Skip to content

Commit

Permalink
add frame clear
Browse files Browse the repository at this point in the history
  • Loading branch information
马林 committed Mar 13, 2024
1 parent c6248da commit c162552
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 c162552

Please sign in to comment.