async fn serve_connections(
listener: TcpListener,
router: Router,
config: HttpConfig,
metrics: Arc<RuntimeMetrics>,
shutdown: CancellationToken,
)Expand description
Owns HTTP connection tasks so cancelling the listener also closes their sockets.