Skip to content

Commit

Permalink
Additional trace logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith committed Apr 29, 2024
1 parent c720ebf commit fae273a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quinn-proto/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ impl Connection {
congestion_blocked = true;
// We continue instead of breaking here in order to avoid
// blocking loss probes queued for higher spaces.
trace!("blocked by congestion control");
continue;
}

Expand All @@ -655,6 +656,7 @@ impl Connection {
congestion_blocked = true;
// Loss probes should be subject to pacing, even though
// they are not congestion controlled.
trace!("blocked by pacing");
break;
}
}
Expand Down Expand Up @@ -3161,6 +3163,7 @@ impl Connection {
while buf.len() + Datagram::SIZE_BOUND < max_size && space_id == SpaceId::Data {
match self.datagrams.write(buf, max_size, max_datagram_size) {
true => {
trace!("DATAGRAM");
sent_datagrams = true;
sent.non_retransmits = true;
self.stats.frame_tx.datagram += 1;
Expand Down

0 comments on commit fae273a

Please sign in to comment.