diff --git a/src/client/legacy/client.rs b/src/client/legacy/client.rs index fad03bf..f14abfe 100644 --- a/src/client/legacy/client.rs +++ b/src/client/legacy/client.rs @@ -552,7 +552,8 @@ where "http1 handshake complete, spawning background dispatcher task" ); executor.execute( - conn.map_err(|e| debug!("client connection error: {}", e)) + conn.with_upgrades() + .map_err(|e| debug!("client connection error: {}", e)) .map(|_| ()), );