mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
fix websockets
This commit is contained in:
parent
4081ea6cce
commit
2c54b54b4f
5 changed files with 30 additions and 11 deletions
|
@ -170,7 +170,7 @@ impl EpoxyClient {
|
|||
.await
|
||||
.replace_err("Failed to create multiplexor channel")?;
|
||||
|
||||
if *url.scheme().replace_err("URL must have a scheme")? == uri::Scheme::HTTPS {
|
||||
if utils::get_is_secure(url)? {
|
||||
let cloned_uri = url_host.to_string().clone();
|
||||
let connector = TlsConnector::from(self.rustls_config.clone());
|
||||
let io = connector
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue