File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -973,7 +973,7 @@ Sets the Apache server's base configuration directory. This is useful for specia
973
973
974
974
##### ` keepalive `
975
975
976
- Determines whether to enable persistent HTTP connections with the [ ` KeepAlive ` ] [ ] directive. Valid options: 'Off', 'On'. Default: 'Off '.
976
+ Determines whether to enable persistent HTTP connections with the [ ` KeepAlive ` ] [ ] directive. Valid options: 'Off', 'On'. Default: 'On '.
977
977
978
978
If 'On', use the [ ` keepalive_timeout ` ] [ ] and [ ` max_keepalive_requests ` ] [ ] parameters to set relevant options.
979
979
Original file line number Diff line number Diff line change 137
137
' nss' => ' libmodnss.so' ,
138
138
}
139
139
$conf_template = ' apache/httpd.conf.erb'
140
- $keepalive = ' Off '
140
+ $keepalive = ' On '
141
141
$keepalive_timeout = 15
142
142
$max_keepalive_requests = 100
143
143
$fastcgi_lib_path = undef
Original file line number Diff line number Diff line change @@ -353,14 +353,14 @@ class { 'apache':
353
353
describe 'keepalive' do
354
354
describe 'setup' do
355
355
it 'applies cleanly' do
356
- pp = "class { 'apache': keepalive => 'On ', keepalive_timeout => '30', max_keepalive_requests => '200' }"
356
+ pp = "class { 'apache': keepalive => 'Off ', keepalive_timeout => '30', max_keepalive_requests => '200' }"
357
357
apply_manifest ( pp , :catch_failures => true )
358
358
end
359
359
end
360
360
361
361
describe file ( $conf_file) do
362
362
it { is_expected . to be_file }
363
- it { is_expected . to contain 'KeepAlive On ' }
363
+ it { is_expected . to contain 'KeepAlive Off ' }
364
364
it { is_expected . to contain 'KeepAliveTimeout 30' }
365
365
it { is_expected . to contain 'MaxKeepAliveRequests 200' }
366
366
end
You can’t perform that action at this time.
0 commit comments