Skip to content

Commit

Permalink
fix: enable http1 upgrades in legacy client (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar authored Dec 8, 2023
1 parent 475dd1a commit 1427d1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/legacy/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(|_| ()),
);

Expand Down

0 comments on commit 1427d1b

Please sign in to comment.