From a3a2f4de28fed9981d70dd4f38bba5b63d31281f Mon Sep 17 00:00:00 2001 From: babin Date: Sat, 19 Sep 2026 15:35:00 +0300 Subject: [PATCH] Fix owned WebSocket split after transport boxing --- src/proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.rs b/src/proxy.rs index 2aa2cf1..f7fdc36 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -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; }