Skip to main content

report_unconfirmed

Function report_unconfirmed 

Source
fn report_unconfirmed(st: &StreamState<'_>, report: &Reporter<'_>)
Expand description

Report whatever a teardown drain could not vouch for, once.

The pairing ImpairmentKind::QueuedBytesAtTeardown was always meant to have: a queue that was flushed best-effort into a transport that is going away has delivered nothing it can prove, and reporting only what stayed queued reports zero for exactly the case that loses data. See PendingQueue::unconfirmed_bytes.

Zero, and therefore silent, on every stream that had nothing queued — which is every stream in a session with no timing action.