fix(core): Force plus websocekt to use http 1

This commit is contained in:
LynithDev 2026-07-17 19:03:05 +02:00
parent 5b24a81fe5
commit ccc34e0950

View file

@ -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 {} ({})",