mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
fix tls close_notify error, empty data packet spam, compilation errors
This commit is contained in:
parent
6f0e1e7feb
commit
028c0c1332
4 changed files with 111 additions and 23 deletions
|
@ -269,8 +269,8 @@ impl EpoxyClient {
|
|||
return Err(EpoxyError::WebSocketConnectFailed);
|
||||
}
|
||||
Ok((
|
||||
Box::new(read) as Box<dyn WebSocketRead + Send + Sync>,
|
||||
Box::new(write) as Box<dyn WebSocketWrite + Send + Sync>,
|
||||
Box::new(read) as Box<dyn WebSocketRead + Send>,
|
||||
Box::new(write) as Box<dyn WebSocketWrite + Send>,
|
||||
))
|
||||
})
|
||||
}),
|
||||
|
@ -311,8 +311,8 @@ impl EpoxyClient {
|
|||
};
|
||||
|
||||
Ok((
|
||||
Box::new(read) as Box<dyn WebSocketRead + Send + Sync>,
|
||||
Box::new(write) as Box<dyn WebSocketWrite + Send + Sync>,
|
||||
Box::new(read) as Box<dyn WebSocketRead + Send>,
|
||||
Box::new(write) as Box<dyn WebSocketWrite + Send>,
|
||||
))
|
||||
}))
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue