mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
fix issue
This commit is contained in:
@@ -822,6 +822,7 @@ async fn handle_connection<L, M, S, B, E>(
|
||||
}
|
||||
_ = &mut signal_closed => {
|
||||
trace!("signal received in task, starting graceful shutdown");
|
||||
age_fired = true;
|
||||
conn.as_mut().graceful_shutdown();
|
||||
}
|
||||
Some(()) = age_timer.as_mut(), if !age_fired => {
|
||||
|
||||
Reference in New Issue
Block a user