Skip to content

Commit

Permalink
fix(client): Fix HTTP/2 upgrade WebSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Jan 26, 2025
1 parent 5f055e3 commit 0720a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/legacy/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ where
} else {
origin_form(req.uri_mut());
}
} else if req.method() == Method::CONNECT {
} else if req.method() == Method::CONNECT && !pooled.is_http2() {
authority_form(req.uri_mut());
}

Expand Down

0 comments on commit 0720a33

Please sign in to comment.