Class: Puppet::Network::HTTP::BasePool Private
- Defined in:
- lib/puppet/network/http/base_pool.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base pool for HTTP connections.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#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.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/puppet/network/http/base_pool.rb', line 5 def start(site, verifier, http) Puppet.debug("Starting connection for #{site}") if verifier verifier.setup_connection(http) begin http.start rescue OpenSSL::SSL::SSLError => error verifier.handle_connection_error(http, error) end else http.start end end |