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

fixes #8489 - set KeepAlive On in foreman vhost #405

Merged
merged 1 commit into from Mar 17, 2016
Merged

fixes #8489 - set KeepAlive On in foreman vhost #405

merged 1 commit into from Mar 17, 2016

Conversation

mmoll
Copy link
Contributor

@mmoll mmoll commented Feb 28, 2016

As it seems to be still a longer time to puppetlabs-apache 2.0, handle this in the vhost.
@lzap for your testing pleasure... 馃悓

@lzap
Copy link
Member

lzap commented Mar 1, 2016

LGTM but I don't have enough confidence to merge Puppet stuff. Also, I think we should parametrize MaxKeepAliveRequests and KeepAliveTimeout options.

@mmoll
Copy link
Contributor Author

mmoll commented Mar 2, 2016

@lzap like that?
tests are still missing...

@lzap
Copy link
Member

lzap commented Mar 2, 2016

That looks good, you can also parametrize keep-alive itself.

@mmoll
Copy link
Contributor Author

mmoll commented Mar 2, 2016

@lzap done 馃巵
Now also with a test.

@@ -246,6 +257,9 @@
$server_ssl_certs_dir = $::foreman::params::server_ssl_certs_dir,
$server_ssl_key = $::foreman::params::server_ssl_key,
$server_ssl_crl = $::foreman::params::server_ssl_crl,
$keepalive = $::foreman::params::keepalive,
Copy link
Member

Choose a reason for hiding this comment

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

Call validate_*() on these parameters?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do in manifests/config/passenger.pp

Copy link
Member

Choose a reason for hiding this comment

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

Touche

@ekohl
Copy link
Member

ekohl commented Mar 3, 2016

馃憤 when the validation functions are used.

# (Number of requests allowed on a persistent connection)
# type:integer
#
# $keepalivetimeout:: KeepAliveTimeout setting of Apache
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these parameters contain underscores separating the words? Other parameters do, e.g. passenger_start_timeout

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

@domcleal
Copy link
Contributor

馃憤 when tests pass. I tested the earlier version (prior to the parameter rename) successfully.

@domcleal domcleal merged commit 0a6966c into theforeman:master Mar 17, 2016
@domcleal
Copy link
Contributor

Merged, thanks @mmoll.

@mmoll mmoll deleted the keepalive branch April 3, 2016 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants