Amir Khan 3 лет назад
Родитель
Сommit
5adef3feab
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      psiphon/common/obfuscator/history.go
  2. 1 1
      psiphon/common/obfuscator/obfuscator.go

+ 1 - 1
psiphon/common/obfuscator/history.go

@@ -64,7 +64,7 @@ func NewSeedHistory(config *SeedHistoryConfig) *SeedHistory {
 	// positives.
 	//
 	// Limitation: As go-cache-lru does not currently support iterating over all
-	// items (without making a full copy of the enture cache), the client IP with
+	// items (without making a full copy of the entire cache), the client IP with
 	// shorter TTL is stored in a second, smaller cache instead of the same cache
 	// with a a pruner. This incurs some additional overhead, as the seed key is
 	// stored twice, once in each cache.

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

@@ -310,7 +310,7 @@ func readSeedMessage(
 	//
 	// Another false positive case: a retired server IP may be recycled and
 	// deployed with a new obfuscation key; legitimate clients may still attempt
-	// to connect using the old obfuscation key; this case is partically
+	// to connect using the old obfuscation key; this case is practically
 	// mitigated by the server entry pruning mechanism.
 	//
 	// Network I/O failures (e.g., failure to read the expected number of seed