Skip to content

Commit 1427d1b

Browse files
authored
fix: enable http1 upgrades in legacy client (#74)
1 parent 475dd1a commit 1427d1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/legacy/client.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ where
552552
"http1 handshake complete, spawning background dispatcher task"
553553
);
554554
executor.execute(
555-
conn.map_err(|e| debug!("client connection error: {}", e))
555+
conn.with_upgrades()
556+
.map_err(|e| debug!("client connection error: {}", e))
556557
.map(|_| ()),
557558
);
558559

0 commit comments

Comments
 (0)