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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddyhttp: Register post-shutdown callbacks #5948

Merged
merged 1 commit into from
Feb 15, 2024
Merged

caddyhttp: Register post-shutdown callbacks #5948

merged 1 commit into from
Feb 15, 2024

Conversation

mholt
Copy link
Member

@mholt mholt commented Nov 20, 2023

Introduces the ability to register hooks to be invoked after the server has shut down. 馃帀

@jjiang-stripe

@mholt mholt added the feature 鈿欙笍 New feature or request label Nov 20, 2023
@mholt mholt added this to the v2.9.0 milestone Nov 20, 2023
Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merge?

@mholt
Copy link
Member Author

mholt commented Feb 15, 2024

Ok, well, let's just merge this for now and we can change it later if needed.

Thanks for the review Francis!

@mholt mholt merged commit 1277888 into master Feb 15, 2024
25 checks passed
@mholt mholt deleted the stop-hooks branch February 15, 2024 04:21
@jjiang-stripe
Copy link
Contributor

jjiang-stripe commented Feb 15, 2024

ahh sorry this got lost in my inbox! haven't had a chance to test this, but it looks like it should do the trick!

cc @alecb-stripe

@mholt
Copy link
Member Author

mholt commented Feb 15, 2024

Ha no worries! Again if anything needs adjusting we can still do that 馃憤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 鈿欙笍 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants