This is an automated email from the git hooks/post-receive script.
cohosh pushed a commit to branch main in repository pluggable-transports/snowflake-webext.
commit a8b7508ab0587276faec1a0290732c4bea8c5362 Author: Cecylia Bocovich cohosh@torproject.org AuthorDate: Thu Sep 29 11:34:05 2022 -0400
Have working unrestricted proxies server 2 clients max --- snowflake.js | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/snowflake.js b/snowflake.js index fbff283..abb4c11 100644 --- a/snowflake.js +++ b/snowflake.js @@ -105,6 +105,7 @@ class Snowflake { this.ui.natType = "restricted"; console.log("Learned NAT type: restricted"); this.natFailures = 0; + this.config.maxNumClients = 1; } this.broker.setNATType(this.ui.natType); } else { @@ -115,6 +116,7 @@ class Snowflake { this.natFailures = 0; if (this.ui.natType == "unrestricted") { this.pollInterval = this.config.fastBrokerPollInterval; + this.config.maxNumClients = 2; } } }), this.config.datachannelTimeout);