Method: Puppet::HTTP::Pool#start
- Defined in:
- lib/puppet/http/pool.rb
#start(site, verifier, http) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Start a persistent connection
60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/puppet/http/pool.rb', line 60 def start(site, verifier, http) Puppet.debug("Starting connection for #{site}") if site.use_ssl? verifier.setup_connection(http) begin http.start print_ssl_info(http) if Puppet::Util::Log.sendlevel?(:debug) rescue OpenSSL::SSL::SSLError => error verifier.handle_connection_error(http, error) end else http.start end end |