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

adding h2c graceful shutdown #4920

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

WeidiDeng
Copy link
Member

Fixes 4907

@francislavoie francislavoie requested a review from mholt July 29, 2022 02:05
@francislavoie francislavoie added the feature ⚙️ New feature or request label Jul 29, 2022
@francislavoie francislavoie added this to the v2.5.3 milestone Jul 29, 2022
@mholt
Copy link
Member

mholt commented Jul 30, 2022

Thanks! I'm looking forward to reviewing this.

@mholt
Copy link
Member

mholt commented Sep 5, 2022

Thank you for this change @WeidiDeng -- if it's OK with you, I'm going to bump this to after 2.6 (or at least after its initial beta) just so I can stay on a self-imposed schedule 🤪

I will review this though!

@mholt mholt modified the milestones: v2.6.0-beta.1, v2.6.0 Sep 5, 2022
@mholt mholt modified the milestones: v2.6.0, v2.6.1, v2.6.2 Sep 16, 2022
@mholt mholt modified the milestones: v2.6.2, v2.6.3 Sep 29, 2022
# Conflicts:
#	modules/caddyhttp/app.go
)

// h2chandler is a Handler which counts possible h2c upgrade requests
type h2chandler struct {
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be uppercase, as a separate word?

Suggested change
type h2chandler struct {
type h2cHandler struct {

@mholt mholt modified the milestones: v2.6.3, v2.7.0 Feb 6, 2023
@mholt mholt modified the milestones: v2.7.0, 2.x May 11, 2023
@mholt
Copy link
Member

mholt commented May 11, 2023

Will take another look when it's updated and ready for another review (as discussed in Slack). 💯

@francislavoie francislavoie marked this pull request as draft May 11, 2023 22:38
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.

h2c server allows graceful shutdown
3 participants