Merge pull request #38 from sourcery/master

Reference the top-level Timeout, to avoid conflicts with Rack::Timeout
This commit is contained in:
John Bintz 2013-05-24 05:31:54 -07:00
commit 85a27e6bec
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module Rack
begin
http.send_request('GET', uri.path)
@use_vendored = false
rescue Timeout::Error, Errno::ECONNREFUSED, EOFError
rescue ::Timeout::Error, Errno::ECONNREFUSED, EOFError
@use_vendored = true
rescue => e
$stderr.puts e.inspect