fix(core): Force plus websocekt to use http 1
This commit is contained in:
parent
5b24a81fe5
commit
ccc34e0950
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ fn build_client() -> Result<reqwest::Client, reqwest::Error> {
|
|||
reqwest::Client::builder()
|
||||
.tcp_keepalive(Some(Duration::from_secs(15)))
|
||||
.connect_timeout(Duration::from_secs(10))
|
||||
// reqwest-websocket only supports Http <1.1
|
||||
.http1_only()
|
||||
.tls_backend_rustls()
|
||||
.user_agent(format!(
|
||||
"OneClient {} ({})",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue