disable Nagle's algorithm

This commit is contained in:
Lily Tsuru 2024-09-30 06:53:52 -04:00
parent 8effee4d09
commit 7e4f4caeda

View file

@ -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");