summaryrefslogtreecommitdiffhomepage
path: root/tools/unitctl/unit-client-rs/src/unit_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/unitctl/unit-client-rs/src/unit_client.rs')
-rw-r--r--tools/unitctl/unit-client-rs/src/unit_client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/unitctl/unit-client-rs/src/unit_client.rs b/tools/unitctl/unit-client-rs/src/unit_client.rs
index bc6cc4f7..10d11e5f 100644
--- a/tools/unitctl/unit-client-rs/src/unit_client.rs
+++ b/tools/unitctl/unit-client-rs/src/unit_client.rs
@@ -191,7 +191,7 @@ impl UnitClient {
.unwrap_or_else(|_| HttpsConnectorBuilder::default()
.with_webpki_roots())
.https_or_http()
- .enable_http1()
+ .enable_all_versions()
.wrap_connector(HttpConnector::new()));
Self {
control_socket,