mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
revert change on SetStreamMode
This commit is contained in:
parent
69045b5fbb
commit
37f2f42ea0
1 changed files with 2 additions and 2 deletions
|
@ -359,8 +359,8 @@ func newSession(snowflakes SnowflakeCollector, clientIDCandid turbotunnel.Client
|
||||||
pconn.Close()
|
pconn.Close()
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
// Disallow coalescing the payloads of consecutive sends.
|
// Permit coalescing the payloads of consecutive sends.
|
||||||
conn.SetStreamMode(false)
|
conn.SetStreamMode(true)
|
||||||
// Set the maximum send and receive window sizes to a high number
|
// 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
|
// Removes KCP bottlenecks: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40026
|
||||||
conn.SetWindowSize(WindowSize, WindowSize)
|
conn.SetWindowSize(WindowSize, WindowSize)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue