From f3b6cbd01c5443e03d012c3c866487ba19785baf Mon Sep 17 00:00:00 2001 From: MeexReay Date: Fri, 20 Jun 2025 01:58:01 +0300 Subject: [PATCH] Fix: make websocket message size bigger --- src/proto/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/proto/mod.rs b/src/proto/mod.rs index 03bba14..5c1506e 100644 --- a/src/proto/mod.rs +++ b/src/proto/mod.rs @@ -8,7 +8,7 @@ use std::{ use native_tls::{TlsConnector, TlsStream}; use socks::Socks5Stream; -use tungstenite::WebSocket; +use tungstenite::{client::client_with_config, protocol::WebSocketConfig, WebSocket}; pub mod rac; pub mod wrac; @@ -177,13 +177,14 @@ pub fn connect(host: &str, proxy: Option) -> Result