We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d3e75 commit 5ae3122Copy full SHA for 5ae3122
1 file changed
_stable/server/graceful-shutdown.md
@@ -66,7 +66,7 @@ We're assuming you have an accept loop for your server, similar to what was show
66
# let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
67
let listener = TcpListener::bind(addr).await?;
68
// specify our HTTP settings (http1, http2, auto all work)
69
-let mut http = http1::Builder::new();
+let http = http1::Builder::new();
70
// the graceful watcher
71
let graceful = hyper_util::server::graceful::GracefulShutdown::new();
72
// when this signal completes, start shutdown
0 commit comments