Skip to content

Commit

Permalink
tungstenite config fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy-Sheppard committed Oct 9, 2023
1 parent 358ac3d commit b2ccbed
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/browser/transport/web_socket_connection.rs
Expand Up @@ -134,14 +134,7 @@ impl WebSocketConnection {
)> {
let mut client = tungstenite::client::connect_with_config(
ws_url,
Some(WebSocketConfig {
max_message_size: None,
max_frame_size: None,
accept_unmasked_frames: true,
write_buffer_size: 0,
max_write_buffer_size: 1,
..Default::default()
}),
Some(WebSocketConfig::default()),
u8::MAX - 1,
)?;

Expand Down

0 comments on commit b2ccbed

Please sign in to comment.