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 @@ -1000,7 +1000,7 @@ Sets the Apache server's base configuration directory. This is useful for specia
1000
1000
1001
1001
##### ` keepalive `
1002
1002
1003
- Determines whether to enable persistent HTTP connections with the [ ` KeepAlive ` ] [ ] directive. Valid options: 'Off', 'On'. Default: 'Off '.
1003
+ Determines whether to enable persistent HTTP connections with the [ ` KeepAlive ` ] [ ] directive. Valid options: 'Off', 'On'. Default: 'On '.
1004
1004
1005
1005
If 'On', use the [ ` keepalive_timeout ` ] [ ] and [ ` max_keepalive_requests ` ] [ ] parameters to set relevant options.
1006
1006
Original file line number Diff line number Diff line change 142
142
' nss' => ' libmodnss.so' ,
143
143
}
144
144
$conf_template = ' apache/httpd.conf.erb'
145
- $keepalive = ' Off '
145
+ $keepalive = ' On '
146
146
$keepalive_timeout = 15
147
147
$max_keepalive_requests = 100
148
148
$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