Sha256: f93d3bbede9417818ce2cd5fae8c7f405f021e266fd1276837439099f2e921bf

Contents?: true

Size: 416 Bytes

Versions: 66

Compression:

Stored size: 416 Bytes

Contents

# http://trac.openidenabled.com/trac/ticket/156
module OpenID
  @@timeout_threshold = 20

  def self.timeout_threshold
    @@timeout_threshold
  end

  def self.timeout_threshold=(value)
    @@timeout_threshold = value
  end

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

Version data entries

66 entries across 66 versions & 11 rubygems

Version Path
openid_auth-1.0.0 lib/open_id_authentication/timeout_fixes.rb
authlogic-oid-1.0.0 test/libs/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
authlogic-oid-1.0.2 test/libs/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
authlogic-oid-1.0.4 test/libs/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
authlogic-oid-1.0.1 test/libs/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
authlogic-oid-1.0.3 test/libs/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb