mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
add alpn for h2
This commit is contained in:
parent
19ad891b1d
commit
9e7f05e381
3 changed files with 43 additions and 9 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue