Skip to content

Commit

Permalink
http: fix http2 connections that are never closed
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn committed Apr 24, 2024
1 parent 226305d commit 7b23269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proto/h2/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ where
// and then close.
trace!("send_request dropped, starting conn shutdown");
drop(this.cancel_tx.take().expect("ConnTask Future polled twice"));
return Poll::Ready(());
}

Poll::Pending
Expand Down

0 comments on commit 7b23269

Please sign in to comment.