cargo upgrades

This commit is contained in:
John Smith
2023-09-16 21:56:19 -04:00
parent a0fcc0fa49
commit d60c296303
10 changed files with 221 additions and 596 deletions

View File

@@ -33,7 +33,7 @@ impl Network {
let server_config = self
.load_server_config()
.wrap_err("Couldn't create TLS configuration")?;
let acceptor = TlsAcceptor::from(Arc::new(server_config));
let acceptor = TlsAcceptor::from(server_config);
self.inner.lock().tls_acceptor = Some(acceptor.clone());
Ok(acceptor)
}