mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
add protocol header v2 to server and client
This commit is contained in:
parent
cda7ed2190
commit
1ae3986a82
8 changed files with 84 additions and 63 deletions
|
@ -208,7 +208,7 @@ fn handle_stream(stream: ServerRouteResult, id: String) {
|
|||
tokio::spawn(async move {
|
||||
CLIENTS.insert(id.clone(), (DashMap::new(), false));
|
||||
let res = match stream {
|
||||
ServerRouteResult::Wisp(stream) => handle_wisp(stream, id.clone()).await,
|
||||
ServerRouteResult::Wisp(stream, is_v2) => handle_wisp(stream, is_v2, id.clone()).await,
|
||||
ServerRouteResult::WsProxy(ws, path, udp) => {
|
||||
handle_wsproxy(ws, id.clone(), path, udp).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue