diff --git a/client/lib/snowflake.go b/client/lib/snowflake.go index 29041f0..a3f3fec 100644 --- a/client/lib/snowflake.go +++ b/client/lib/snowflake.go @@ -359,8 +359,8 @@ func newSession(snowflakes SnowflakeCollector, clientIDCandid turbotunnel.Client pconn.Close() return nil, nil, err } - // Disallow coalescing the payloads of consecutive sends. - conn.SetStreamMode(false) + // Permit coalescing the payloads of consecutive sends. + conn.SetStreamMode(true) // Set the maximum send and receive window sizes to a high number // Removes KCP bottlenecks: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40026 conn.SetWindowSize(WindowSize, WindowSize)