Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpd: mark http_server_control::stop() noexcept #2236

Closed
wants to merge 1 commit into from

Conversation

tchaikov
Copy link
Contributor

the only callee in http_server_control::stop() is sharded<Service>::stop(), which is noexcept. so we can assume that http_server_control::stop() is also noexcept.

so, in this change, we mark http_server_control::stop() noexcept. this allows us to use deferred_stop to stop an http_server_control.

the only callee in `http_server_control::stop()` is
`sharded<Service>::stop()`, which is `noexcept`. so we can assume that
`http_server_control::stop()` is also `noexcept`.

so, in this change, we mark `http_server_control::stop()` noexcept.
this allows us to use `deferred_stop` to stop an `http_server_control`.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
@tchaikov tchaikov added the http label May 10, 2024
@xemul xemul closed this in 998d299 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant