Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions quinn-proto/src/connection/send_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::{collections::VecDeque, ops::Range};

use bytes::{Buf, Bytes};

use crate::{VarInt, range_set::RangeSet};
use crate::{VarInt, range_set::ArrayRangeSet};

/// Buffer of outgoing retransmittable stream data
#[derive(Default, Debug)]
Expand All @@ -20,9 +20,9 @@ pub(super) struct SendBuffer {
/// Acknowledged ranges which couldn't be discarded yet as they don't include the earliest
/// offset in `unacked`
// TODO: Recover storage from these by compacting (#700)
acks: RangeSet,
acks: ArrayRangeSet,
/// Previously transmitted ranges deemed lost
retransmits: RangeSet,
retransmits: ArrayRangeSet,
}

impl SendBuffer {
Expand Down