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

Offer separate KeepAlive directive for h2 #111

Open
icing opened this issue Jul 25, 2016 · 1 comment
Open

Offer separate KeepAlive directive for h2 #111

icing opened this issue Jul 25, 2016 · 1 comment

Comments

@icing
Copy link
Owner

icing commented Jul 25, 2016

The default http/1.1 KeepAlive setting in 5 seconds, which is too penalizing for h2 clients (they only use a single connection to a domain, so the expectation would be that longer keepalives will still burden the server less than h1)

Since httpd parks idle connections only for async mpms, the default for h2 on such a mpm should be higher by default. It could work like this:

H2KeepAlive "KeepAlive"|n

With a default of max(KeepAlive,60) on async mpms and equal to KeepAlive otherwise.

@icing
Copy link
Owner Author

icing commented Jul 25, 2016

Additionally, that value could be announced to clients in a KeepAlive header.

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

No branches or pull requests

1 participant