mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Increase smux and QueuePacketConn buffer sizes
This should increase the maximum amount of inflight data and hopefully the performance of Snowflake, especially for clients geographically distant from proxies and the server.
This commit is contained in:
parent
b203a75c41
commit
e6715cb4ee
3 changed files with 14 additions and 3 deletions
|
@ -11,7 +11,7 @@ import "errors"
|
|||
var Token = [8]byte{0x12, 0x93, 0x60, 0x5d, 0x27, 0x81, 0x75, 0xf5}
|
||||
|
||||
// The size of receive and send queues.
|
||||
const queueSize = 32
|
||||
const queueSize = 2048
|
||||
|
||||
var errClosedPacketConn = errors.New("operation on closed connection")
|
||||
var errNotImplemented = errors.New("not implemented")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue