Skip to content

Commit b55ecd4

Browse files
committed
always allow http server shutdown
1 parent 0c6638c commit b55ecd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ pub async fn run_server(
580580
} else {
581581
std::future::pending().await
582582
}
583-
}, if current_tls.is_none() => {
583+
} => {
584584
info!("ACME task requested port 80; pausing HTTP server");
585585
handle.graceful_shutdown(Some(Duration::from_secs(10)));
586586
let _ = server_task.await;

0 commit comments

Comments
 (0)