mirror of
https://github.com/by-sonic/tglock.git
synced 2026-09-20 17:38:28 +03:00
Fix owned WebSocket split after transport boxing
This commit is contained in:
+1
-1
@@ -735,7 +735,7 @@ async fn ws_tunnel(
|
||||
stats.note_tunnel(dc, connected.route.kind.ui_code());
|
||||
|
||||
let ws = match connection {
|
||||
crate::transport::TelegramConnection::WebSocket(ws) => ws,
|
||||
crate::transport::TelegramConnection::WebSocket(ws) => *ws,
|
||||
crate::transport::TelegramConnection::Tcp(remote) => {
|
||||
return cdn_tcp_tunnel(tcp, remote, init, crypto, stats, &connected, dc).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user