class Bundler::Persistent::Net::HTTP::Persistent

def expired? connection

def expired? connection
  return true  if     @max_requests && connection.requests >= @max_requests
  return false unless @idle_timeout
  return true  if     @idle_timeout.zero?
  Time.now - connection.last_use > @idle_timeout
end