lib/elasticsearch/transport/transport/http/curb.rb in elasticsearch-transport-1.0.4 vs lib/elasticsearch/transport/transport/http/curb.rb in elasticsearch-transport-1.0.5
- old
+ new
@@ -68,10 +68,10 @@
# Returns an array of implementation specific connection errors.
#
# @return [Array]
#
def host_unreachable_exceptions
- [::Curl::Err::HostResolutionError, ::Curl::Err::ConnectionFailedError]
+ [::Curl::Err::HostResolutionError, ::Curl::Err::ConnectionFailedError, ::Curl::Err::GotNothingError, ::Curl::Err::RecvError, ::Curl::Err::SendError]
end
end
end
end