Skip to content

Commit

Permalink
server: Enable ForceAttemptHTTP2 on HTTP client
Browse files Browse the repository at this point in the history
  • Loading branch information
yondonfu committed Nov 19, 2021
1 parent da14a06 commit 09ac45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/segment_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ var httpClient = &http.Client{
}
return tls.DialWithDialer(netDialer, network, addr, tlsConfig)
},
ForceAttemptHTTP2: true,
},
// Don't set a timeout here; pass a context to the request
}
Expand Down

0 comments on commit 09ac45a

Please sign in to comment.