mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
enforce UdpProtocolExtension if requested
This commit is contained in:
parent
397fd43dc5
commit
4d433b60c4
2 changed files with 11 additions and 2 deletions
|
@ -270,6 +270,8 @@ async fn accept_ws(
|
|||
let (mut mux, fut) =
|
||||
ServerMux::new(rx, tx, u32::MAX, Some(&[&UdpProtocolExtensionBuilder()])).await?;
|
||||
|
||||
println!("{:?}: downgraded: {} extensions supported: {:?}", addr, mux.downgraded, mux.supported_extension_ids);
|
||||
|
||||
tokio::spawn(async move {
|
||||
if let Err(e) = fut.await {
|
||||
println!("err in mux: {:?}", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue