Skip to content

Graceful shutdown with hyper 1.0 #2323

Closed as not planned
Closed as not planned
@harryzcy

Description

@harryzcy
  • I have looked for existing issues (including closed) about this

Feature Request

Motivation

with_graceful_shutdown has been removed in hyper 1.0, not there's no convenient way to do this with axum::serve.

Proposal

Adds a with_graceful_shutdown to axum.

Alternatives

Provide an example to use hyper connections directly: hyperium/hyper#3303

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions