mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 05:50:01 -04:00
fix simple wisp client
This commit is contained in:
parent
5b1503c28e
commit
7fdee4ecfe
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
|
|||
let (rx, tx) = ws.split(tokio::io::split);
|
||||
let rx = FragmentCollectorRead::new(rx);
|
||||
|
||||
let (mux, fut) = ClientMux::new(rx, tx);
|
||||
let (mux, fut) = ClientMux::new(rx, tx).await?;
|
||||
|
||||
tokio::task::spawn(fut);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue