Update rustls as much as possible

This commit is contained in:
Tamo 2024-07-17 14:27:29 +02:00
parent 7a292b572a
commit 1bfb16386c
4 changed files with 52 additions and 104 deletions

View file

@ -151,7 +151,7 @@ async fn run_http(
.keep_alive(KeepAlive::Os);
if let Some(config) = opt_clone.get_ssl_config()? {
http_server.bind_rustls_021(opt_clone.http_addr, config)?.run().await?;
http_server.bind_rustls_0_23(opt_clone.http_addr, config)?.run().await?;
} else {
http_server.bind(&opt_clone.http_addr)?.run().await?;
}