Skip to content

Commit

Permalink
proto: update DatagramState::outgoing_total on drop_oversized()
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Sep 12, 2024
1 parent 00df048 commit 2d82908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quinn-proto/src/connection/datagrams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl DatagramState {
datagram.data.len(),
max_payload
);
self.outgoing_total -= datagram.data.len();
}
result
});
Expand Down

0 comments on commit 2d82908

Please sign in to comment.