tokio-rs/axum

WebSocketUpgrade::on_upgrade task is not joined when client's socket closes.

Closed this issue · 0 comments

When the socket closes without a Message::close this task is never joined/awaited/terminated.

tokio::spawn(async move {

As you can see on tokio-console:
image