mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-30 21:41:03 +00:00
Add logs for pict-rs binds
This commit is contained in:
parent
92fd3bf2fd
commit
3a6faef5ef
1 changed files with 4 additions and 0 deletions
|
@ -2013,11 +2013,15 @@ async fn launch_file_store<F: Fn(&mut web::ServiceConfig) + Send + Clone + 'stat
|
||||||
.with_no_client_auth()
|
.with_no_client_auth()
|
||||||
.with_cert_resolver(rx);
|
.with_cert_resolver(rx);
|
||||||
|
|
||||||
|
tracing::info!("Staring pict-rs with TLS on {address}");
|
||||||
|
|
||||||
server.bind_rustls_021(address, config)?.run().await?;
|
server.bind_rustls_021(address, config)?.run().await?;
|
||||||
|
|
||||||
handle.abort();
|
handle.abort();
|
||||||
let _ = handle.await;
|
let _ = handle.await;
|
||||||
} else {
|
} else {
|
||||||
|
tracing::info!("Staring pict-rs on {address}");
|
||||||
|
|
||||||
server.bind(address)?.run().await?;
|
server.bind(address)?.run().await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue