Skip to content

Commit

Permalink
Merge pull request #96 from triktron/http1_fix
Browse files Browse the repository at this point in the history
Fix http1 not being enabled in tls
  • Loading branch information
mayuki authored Sep 24, 2024
2 parents b9fe2ee + 0df4cab commit 73d513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/yaha_native/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl YahaNativeContextInternal<'_> {
let builder = hyper_rustls::HttpsConnectorBuilder::new()
.with_tls_config(tls_config)
.https_or_http()
.enable_http2();
.enable_all_versions();

// Almost the same as `builder.build()`, but specify `set_nodelay(true)`.
let mut http_conn = HttpConnector::new();
Expand Down

0 comments on commit 73d513a

Please sign in to comment.