mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 14:30:02 -04:00
make extensions owned
This commit is contained in:
parent
76da9fd619
commit
ace9bf380d
6 changed files with 21 additions and 23 deletions
|
@ -204,7 +204,7 @@ pub async fn make_mux(
|
|||
.await
|
||||
.map_err(|_| WispError::WsImplSocketClosed)?;
|
||||
wtx.wait_for_open().await;
|
||||
let mux = ClientMux::new(wrx, wtx, Some(&[&UdpProtocolExtensionBuilder()])).await?;
|
||||
let mux = ClientMux::new(wrx, wtx, Some(&[Box::new(UdpProtocolExtensionBuilder())])).await?;
|
||||
|
||||
Ok(mux)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue