Sha256: e41e2d965332ff9c608c065a63219bed730f509c4a8561650db5fc32e2ca2cd8

Contents?: true

Size: 783 Bytes

Versions: 25

Compression:

Stored size: 783 Bytes

Contents

require 'puppet/network/http/connection'

module Puppet::Network; end

# This class is basically a placeholder for managing a pool of HTTP connections;
# at present it does not actually attempt to pool them.  Historically, it did
# attempt to do so, but this didn't work well based on Puppet's threading model.
# The pooling functionality has been removed, but this abstraction is still here
# because the API is used in various places and because it could be useful
# should we decide to implement pooling at some point in the future.
module Puppet::Network::HttpPool

  # Retrieve a cached http instance if caching is enabled, else return
  # a new one.
  def self.http_instance(host, port, use_ssl = true)
    Puppet::Network::HTTP::Connection.new(host, port, use_ssl)
  end

end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
puppet-3.2.4 lib/puppet/network/http_pool.rb
puppet-3.2.3 lib/puppet/network/http_pool.rb
puppet-3.2.3.rc1 lib/puppet/network/http_pool.rb
puppet-3.2.2 lib/puppet/network/http_pool.rb
puppet-3.2.1 lib/puppet/network/http_pool.rb
puppet-3.2.1.rc1 lib/puppet/network/http_pool.rb
puppet-3.2.0.rc2 lib/puppet/network/http_pool.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/network/http_pool.rb
puppet-3.2.0.rc1 lib/puppet/network/http_pool.rb
puppet-3.1.1 lib/puppet/network/http_pool.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/network/http_pool.rb
puppet-3.1.0 lib/puppet/network/http_pool.rb
puppet-3.1.0.rc2 lib/puppet/network/http_pool.rb
puppet-3.1.0.rc1 lib/puppet/network/http_pool.rb
puppet-3.0.2 lib/puppet/network/http_pool.rb
puppet-3.0.2.rc3 lib/puppet/network/http_pool.rb
puppet-3.0.2.rc2 lib/puppet/network/http_pool.rb
puppet-3.0.2.rc1 lib/puppet/network/http_pool.rb
puppet-3.0.1 lib/puppet/network/http_pool.rb
puppet-3.0.1.rc1 lib/puppet/network/http_pool.rb