Skip to content

Commit 28fb3fa

Browse files
committed
Merge remote-tracking branch 'origin/main' into mock/cw-multi-tet-tokenfactory
2 parents 168be85 + 3e7c3b8 commit 28fb3fa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cw-orch-daemon/src/channel.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ impl GrpcChannel {
2525
let uri = Uri::from_maybe_shared(address.clone()).expect("Invalid URI");
2626

2727
let maybe_channel = Endpoint::from(uri)
28-
.tls_config(ClientTlsConfig::new().with_enabled_roots())
28+
.tls_config(
29+
ClientTlsConfig::new()
30+
.with_enabled_roots()
31+
// grpcs are http/2 by spec
32+
.assume_http2(true),
33+
)
2934
.unwrap()
3035
.connect()
3136
.await;

0 commit comments

Comments
 (0)