Class: OpenID::StandardFetcher

Inherits:
Object
  • Object
show all
Defined in:
lib/vendor/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb

Instance Method Summary collapse

Instance Method Details

#make_http(uri) ⇒ Object



14
15
16
17
18
# File 'lib/vendor/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb', line 14

def make_http(uri)
  http = @proxy.new(uri.host, uri.port)
  http.read_timeout = http.open_timeout = OpenID.timeout_threshold
  http
end