Handle the case of an unreachable network.

This can happen in a number of cases, a good example is when your stack
tries to make an IPv6 connection and it is not possible.
This commit is contained in:
Michael Ossareh 2012-12-11 17:21:50 -08:00
parent 1aaa3b875c
commit 8d6d3bcf33

View File

@ -13,6 +13,7 @@ module Faraday
EOFError,
Errno::ECONNABORTED,
Errno::ECONNREFUSED,
Errno::ENETUNREACH,
Errno::ECONNRESET,
Errno::EINVAL,
Net::HTTPBadResponse,