Skip to main content

idle_past_deadline

Function idle_past_deadline 

Source
fn idle_past_deadline(last_activity: Instant, now: Instant) -> bool
Expand description

Whether the stream has gone silent past IDLE_DEADLINE as of now - no inbound frame refreshed last_activity in time, so the path is treated as dead. Any frame resets last_activity, which resets this.