Skip to content

Commit

Permalink
Try to force HTTP/2
Browse files Browse the repository at this point in the history
  • Loading branch information
xSke committed Feb 12, 2024
1 parent c52f972 commit 141f603
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ impl Puller {
let client = ClientBuilder::new()
.connect_timeout(Duration::from_secs(3))
.timeout(Duration::from_secs(3))
.http2_prior_knowledge()
.build()
.context("error making client")?;
Ok(Puller { client })
Expand Down

0 comments on commit 141f603

Please sign in to comment.