mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
Avoid Ruby 2.1.0 crash due to Excon bug when connection is failed
geemus/excon#358
This commit is contained in:
parent
7660b4a2d7
commit
362baf728e
@ -12,6 +12,9 @@ module Adapters
|
||||
# Excon lets OpenSSL::SSL::SSLError be raised without any way to
|
||||
# distinguish whether it happened because of a 407 proxy response
|
||||
undef :test_proxy_auth_fail if ssl_mode?
|
||||
|
||||
# https://github.com/geemus/excon/issues/358
|
||||
undef :test_connection_error if RUBY_VERSION >= '2.1.0'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user