mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-29 00:03:58 -04:00
Treat connection timeouts as connection failures in net-http adapter.
This commit is contained in:
parent
458f319c0d
commit
9ad0fcd38a
@ -25,6 +25,7 @@ module Faraday
|
||||
]
|
||||
|
||||
NET_HTTP_EXCEPTIONS << OpenSSL::SSL::SSLError if defined?(OpenSSL)
|
||||
NET_HTTP_EXCEPTIONS << Net::OpenTimeout if defined?(Net::OpenTimeout)
|
||||
|
||||
def call(env)
|
||||
super
|
||||
|
Loading…
x
Reference in New Issue
Block a user