disable Nagle's algorithm
This commit is contained in:
parent
8effee4d09
commit
7e4f4caeda
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub async fn take_one_screenshot(
|
|||
map.insert("Origin", origin.parse().unwrap());
|
||||
map.insert("Sec-WebSocket-Protocol", "guacamole".parse().unwrap());
|
||||
|
||||
match tokio_tungstenite::connect_async(req).await {
|
||||
match tokio_tungstenite::connect_async_with_config(req, None, true).await {
|
||||
Ok(ws) => {
|
||||
tracing::trace!("connected to CollabVM server");
|
||||
|
||||
|
|
Loading…
Reference in a new issue