Commit 0fd8d460 authored by Matthias Käppler's avatar Matthias Käppler

Merge branch 'ld-git-http-handle-ENETUNREACH' into 'master'

Handle `Errno::ENETUNREACH` in `Gitlab::HTTP`

See merge request gitlab-org/gitlab!73507
parents 7898e25d 9e1e36c1
......@@ -15,7 +15,7 @@ module Gitlab
].freeze
HTTP_ERRORS = HTTP_TIMEOUT_ERRORS + [
EOFError, SocketError, OpenSSL::SSL::SSLError, OpenSSL::OpenSSLError,
Errno::ECONNRESET, Errno::ECONNREFUSED, Errno::EHOSTUNREACH,
Errno::ECONNRESET, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Errno::ENETUNREACH,
Gitlab::HTTP::BlockedUrlError, Gitlab::HTTP::RedirectionTooDeep
].freeze
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment