mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
increase clientIDAddrMapCapacity
See also: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40084
This commit is contained in:
parent
50646698e3
commit
d2f6ea5417
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ const clientMapTimeout = 1 * time.Minute
|
|||
// How big to make the map of ClientIDs to IP addresses. The map is used in
|
||||
// turbotunnelMode to store a reasonable IP address for a client session that
|
||||
// may outlive any single WebSocket connection.
|
||||
const clientIDAddrMapCapacity = 1024
|
||||
const clientIDAddrMapCapacity = 10240
|
||||
|
||||
// How long to wait for ListenAndServe or ListenAndServeTLS to return an error
|
||||
// before deciding that it's not going to return.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue