Skip to content

Conversation

k0nserv
Copy link

@k0nserv k0nserv commented Jan 16, 2024

Because Http1Builder::serve_connection and
Http2Builder::serve_connection didn't return Connection it was
impossible to use them in combination with Connection::graceful_shutdown.

By returning the Connection future rather than awaiting it, this becomes
possible.

Because `Http1Builder::serve_connection` and
`Http2Builder::serve_connection` didn't return `Connection` it was
impossible to use them in combination with `Connection::graceful_shutdown`.

By returning the Connection future rather than awaiting it, this becomes
possible.
@seanmonstar
Copy link
Member

This was done in another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants