mobile wss use rustls_platform_verifier

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages committed 2025-10-27 10:29:26 +08:00
1 parent 5ed0afde08
commit bf9a79fda5
5 files changed
+77 -7

No files matched your search

+2 -1
View File
@@ -5,7 +5,7 @@ use std::{
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
ops::{Deref, DerefMut},
path::{Path, PathBuf},
sync::{Mutex, RwLock},
sync::{atomic::AtomicBool, Mutex, RwLock},
time::{Duration, Instant, SystemTime},
};
@@ -70,6 +70,7 @@ lazy_static::lazy_static! {
pub static ref OVERWRITE_LOCAL_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref HARD_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref BUILTIN_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
pub static ref RUSTLS_PLATFORM_VERIFIER_INITIALIZED: AtomicBool = AtomicBool::new(false);
}
lazy_static::lazy_static! {