drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

detect_idle_timeout is broken #119

Open jacobat opened 4 years ago

jacobat commented 4 years ago

Trying to call:

Net::HTTP::Persistent.detect_idle_timeout('http://proxy.example')

results in:

NameError: undefined local variable or method `sleep_time' for Net::HTTP::Persistent:Class