Upgrade rustls to 0.21.10 and ring to 0.17

This commit is contained in:
Eric Long 2024-02-12 14:10:40 +08:00
parent 023c2d755f
commit c02d585f5b
No known key found for this signature in database
GPG key ID: 583FAB4005C652BE
5 changed files with 78 additions and 124 deletions

View file

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