Skip to content

Commit

Permalink
allow peer rpc split packet, so tunnel mtu can be small (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
KKRainbow committed May 16, 2024
1 parent 58d2ec4 commit f665de9
Show file tree
Hide file tree
Showing 6 changed files with 223 additions and 65 deletions.
3 changes: 3 additions & 0 deletions easytier/proto/cli.proto
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,7 @@ message TaRpcPacket {
uint32 transact_id = 4;
bool is_req = 5;
bytes content = 6;

uint32 total_pieces = 7;
uint32 piece_idx = 8;
}
Loading

0 comments on commit f665de9

Please sign in to comment.