Ticket #1176: puppet-fix-1176.patch
| File puppet-fix-1176.patch, 1.6 kB (added by arogge, 8 months ago) |
|---|
-
a/lib/puppet/network/http_pool.rb
old new 88 88 class << http; attr_accessor :ca_file; end 89 89 90 90 http.use_ssl = true 91 http.read_timeout = 120 92 http.open_timeout = 120 91 # Use configured timeout (#1176) 92 http.read_timeout = Puppet[:configtimeout] 93 http.open_timeout = Puppet[:configtimeout] 93 94 # JJM Configurable fix for #896. 94 95 if Puppet[:http_enable_post_connection_check] 95 96 http.enable_post_connection_check = true -
a/lib/puppet/network/xmlrpc/client.rb
old new 118 118 nil, # user 119 119 nil, # password 120 120 true, # use_ssl 121 120 # a two minute timeout, instead of 30 seconds121 Puppet[:configtimeout] # use configured timeout (#1176) 122 122 ) 123 123 @http = Puppet::Network::HttpPool.http_instance(@host, @port) 124 124 end