Skip to content

Commit d82b00d

Browse files
authored
Revert ":wrench: Assume http2 for grpc clients (#284)" (#293)
This reverts commit 9720217. Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
1 parent 175bf51 commit d82b00d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/clients.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,8 @@ pub async fn create_grpc_client<C: Debug + Clone>(
290290
.await
291291
.unwrap_or_else(|error| panic!("error reading key from {key_path:?}: {error}"));
292292
let identity = tonic::transport::Identity::from_pem(cert_pem, key_pem);
293-
// assume_http2 added ref. https://github.com/hyperium/tonic/issues/1427
294293
let mut client_tls_config = tonic::transport::ClientTlsConfig::new()
295294
.identity(identity)
296-
.assume_http2(true)
297295
.with_native_roots()
298296
.with_webpki_roots();
299297
if let Some(client_ca_cert_path) = &tls_config.client_ca_cert_path {

0 commit comments

Comments
 (0)