mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
with the new rustls 0.23 update, we had call a Cryptprovider, HostEZ notified us about a client panic when usiong srv
Voxygen has paniced: rustls default CryptoProvider not set. srv entries: SRV _veloren_tcp.veloren 0 0 14004 veloren.hostez.io SRV _veloren_udp.veloren 0 0 14004 veloren.hostez.io
This commit is contained in:
parent
bc4c7dcd5d
commit
3bc59ed42f
@ -441,6 +441,7 @@ impl Client {
|
||||
add_foreign_systems: impl Fn(&mut DispatcherBuilder) + Send + 'static,
|
||||
#[cfg_attr(not(feature = "plugins"), allow(unused_variables))] config_dir: PathBuf,
|
||||
) -> Result<Self, Error> {
|
||||
let _ = rustls::crypto::ring::default_provider().install_default(); // needs to be initialized before usage
|
||||
let network = Network::new(Pid::new(), &runtime);
|
||||
|
||||
init_stage_update(ClientInitStage::ConnectionEstablish);
|
||||
|
Loading…
Reference in New Issue
Block a user