add alpn for h2

This commit is contained in:
Toshit Chawda 2024-10-20 10:28:38 -07:00
parent 19ad891b1d
commit 9e7f05e381
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
3 changed files with 43 additions and 9 deletions

View file

@ -485,7 +485,7 @@ impl EpoxyClient {
let port = url.port_u16().ok_or(EpoxyError::NoUrlPort)?;
let stream = self
.stream_provider
.get_tls_stream(host.to_string(), port)
.get_tls_stream(host.to_string(), port, false)
.await?;
Ok(iostream_from_asyncrw(
Either::Left(stream),