[tor-commits] [pluggable-transports/snowflake] branch main updated: Avoid performing two NAT probe tests at startup

gitolite role git at cupani.torproject.org
Mon May 30 14:29:16 UTC 2022


This is an automated email from the git hooks/post-receive script.

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake.

The following commit(s) were added to refs/heads/main by this push:
     new 6310ca4  Avoid performing two NAT probe tests at startup
6310ca4 is described below

commit 6310ca438152b5c467eee93d764d35b5b1f60f70
Author: Cecylia Bocovich <cohosh at torproject.org>
AuthorDate: Fri May 27 10:01:19 2022 -0400

    Avoid performing two NAT probe tests at startup
    
    After the initial NAT probe test, a full interval before starting the
    recurring NAT retests.
---
 proxy/lib/snowflake.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/lib/snowflake.go b/proxy/lib/snowflake.go
index 17f0126..c508447 100644
--- a/proxy/lib/snowflake.go
+++ b/proxy/lib/snowflake.go
@@ -574,7 +574,7 @@ func (sf *SnowflakeProxy) Start() error {
 	}
 
 	if sf.NATTypeMeasurementInterval != 0 {
-		NatRetestTask.Start()
+		NatRetestTask.WaitThenStart()
 		defer NatRetestTask.Close()
 	}
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list