Skip to content

Commit

Permalink
Copy segment size when saving datagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Sep 30, 2024
1 parent 30593e3 commit 5ad1f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neqo-transport/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ impl Connection {
d.destination(),
d.tos(),
d[d.len() - remaining..].to_vec(),
None,
Some(d.segment_size()),
);
self.saved_datagrams.save(cspace, d, now);
self.stats.borrow_mut().saved_datagrams += 1;
Expand Down

0 comments on commit 5ad1f35

Please sign in to comment.