Method: NewRelic::Agent::NewRelicService#create_http_connection

Defined in:
lib/new_relic/agent/new_relic_service.rb

#create_http_connectionObject


348
349
350
351
352
353
354
355
# File 'lib/new_relic/agent/new_relic_service.rb', line 348

def create_http_connection
  conn = prep_connection
  setup_connection_for_ssl(conn)
  setup_connection_timeouts(conn)

  ::NewRelic::Agent.logger.debug("Created net/http handle to #{conn.address}:#{conn.port}")
  conn
end