Parcourir la source

Merge pull request #468 from hellais/fix/doc

Fix/doc
Rod Hynes il y a 7 ans
Parent
commit
384596955e
3 fichiers modifiés avec 12 ajouts et 3 suppressions
  1. 9 0
      contributors/hellais.md
  2. 1 1
      psiphon/common/tactics/tactics.go
  3. 2 2
      psiphon/remoteServerList.go

+ 9 - 0
contributors/hellais.md

@@ -0,0 +1,9 @@
+2018-06-11
+
+I hereby agree to the terms of the "Psiphon Individual Contributor License Agreement", with MD5 checksum 83d54c85a43e0c0f416758779ea6740a.
+
+I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
+
+Signed,
+
+Arturo Filastò https://github.com/hellais

+ 1 - 1
psiphon/common/tactics/tactics.go

@@ -23,7 +23,7 @@ attributes, API parameters, and speed test data. The tactics implementation
 works in concert with the "parameters" package, allowing contextual
 works in concert with the "parameters" package, allowing contextual
 optimization of Psiphon client parameters; for example, customizing
 optimization of Psiphon client parameters; for example, customizing
 NetworkLatencyMultiplier to adjust timeouts for clients on slow networks; or
 NetworkLatencyMultiplier to adjust timeouts for clients on slow networks; or
-customizeing LimitTunnelProtocols and ConnectionWorkerPoolSize to circumvent
+customizing LimitTunnelProtocols and ConnectionWorkerPoolSize to circumvent
 specific blocking conditions.
 specific blocking conditions.
 
 
 Clients obtain tactics from a Psiphon server. Tactics are configured with a hot-
 Clients obtain tactics from a Psiphon server. Tactics are configured with a hot-

+ 2 - 2
psiphon/remoteServerList.go

@@ -37,7 +37,7 @@ type RemoteServerListFetcher func(
 	ctx context.Context, config *Config, attempt int, tunnel *Tunnel, untunneledDialConfig *DialConfig) error
 	ctx context.Context, config *Config, attempt int, tunnel *Tunnel, untunneledDialConfig *DialConfig) error
 
 
 // FetchCommonRemoteServerList downloads the common remote server list from
 // FetchCommonRemoteServerList downloads the common remote server list from
-// config.RemoteServerListUrl. It validates its digital signature using the
+// config.RemoteServerListURLs. It validates its digital signature using the
 // public key config.RemoteServerListSignaturePublicKey and parses the
 // public key config.RemoteServerListSignaturePublicKey and parses the
 // data field into ServerEntry records.
 // data field into ServerEntry records.
 // config.RemoteServerListDownloadFilename is the location to store the
 // config.RemoteServerListDownloadFilename is the location to store the
@@ -116,7 +116,7 @@ func FetchCommonRemoteServerList(
 }
 }
 
 
 // FetchObfuscatedServerLists downloads the obfuscated remote server lists
 // FetchObfuscatedServerLists downloads the obfuscated remote server lists
-// from config.ObfuscatedServerListRootURL.
+// from config.ObfuscatedServerListRootURLs.
 // It first downloads the OSL registry, and then downloads each seeded OSL
 // It first downloads the OSL registry, and then downloads each seeded OSL
 // advertised in the registry. All downloads are resumable, ETags are used
 // advertised in the registry. All downloads are resumable, ETags are used
 // to skip both an unchanged registry or unchanged OSL files, and when an
 // to skip both an unchanged registry or unchanged OSL files, and when an