-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Set default keepalive to On #1434
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
Conversation
According to docs "In some cases this has been shown to result in an almost 50% speedup in latency times for HTML documents with many images." Ref: http://httpd.apache.org/docs/2.4/mod/core.html#keepalive
This is a behavior change and should be marked as such in the release notes. |
O_o why was keepalive off to begin with? |
I was asking myself the same question a few weeks ago. Especially when using Apache as an SSL-terminating reverse proxy the |
I have submitted PR #1447. |
I reckon the reason is that when this module started out 2.2 was still the default on most platforms. after 2.4 came out, most distros (and, i include this module in that umbrella) were put on a spot to support this strange new behaviour (secure, fast, incompatible ;) okay, so i went back and checked. keepalive has been |
@tphoney yes, this should be merged into 2.x |
Opinion: I think reasonable default performance-wise and security-wise changes can go in 1.x. This is like 932f0d0 to me. |
…except that with keepalive on (and the wrong keepalivetimeout setting [and the wrong mpm]) you're exposing yourself to resource starvation attacks |
Set default keepalive to On
According to docs "In some cases this has been shown to result in an almost 50% speedup in latency times for HTML documents with many images."
Ref: http://httpd.apache.org/docs/2.4/mod/core.html#keepalive