Skip to content

Commit 5714d71

Browse files
committed
Document todo
1 parent 4c27a41 commit 5714d71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: mullvad-ios/src/encrypted_dns_proxy.rs

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ impl EncryptedDnsProxyState {
8282
if self.should_reset() {
8383
self.reset();
8484
}
85+
// TODO: currently, the randomized order of proxy config retrieval depends on the random
86+
// iteration order of a given HashSet instance. Since for now, there will be only 2
87+
// different configurations, it barely matters. In the future, we should use `rand`
88+
// instead, so that the behavior is explicit and clear.
8589

8690
// First, try getting an obfuscated configuration, if there exist any.
8791
let config = if let Some(obfuscated_config) = self

0 commit comments

Comments
 (0)