Skip to content

Commit

Permalink
proto: upgrade DatagramState::outgoing_total on drop_oversized()
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Sep 11, 2024
1 parent 00df048 commit dd5dcbd
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 dd5dcbd

Please sign in to comment.