Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Feb 19, 2024
1 parent fba6da6 commit 5bb2c73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/net/quic/src/state/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ impl QuicConnState {
where
Guard: DerefMut<Target = RawQuicConnState>,
{
if state.quiche_conn.is_closed() || state.quiche_conn.is_draining() {
if state.quiche_conn.is_closed()
|| state.quiche_conn.is_draining()
|| state.quiche_conn.is_timed_out()
{
self.mediator.notify_any(event_map::Reason::Cancel);

return Err(io::Error::new(
Expand Down

0 comments on commit 5bb2c73

Please sign in to comment.