diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-03 04:19:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-03 04:19:28 +0300 |
commit | 30f229be4c0c3b8458244da44c37cc0485a875b2 (patch) | |
tree | 44c47024b98f9bd959ef221d30fe1000cc67e154 /lib/gitlab/http.rb | |
parent | 33bbd0b39bda02f24468184e5e3d8f6d257246d4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/http.rb')
-rw-r--r-- | lib/gitlab/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/http.rb b/lib/gitlab/http.rb index d0918fc39bc..b52c87e2259 100644 --- a/lib/gitlab/http.rb +++ b/lib/gitlab/http.rb @@ -9,6 +9,7 @@ module Gitlab BlockedUrlError = Class.new(StandardError) RedirectionTooDeep = Class.new(StandardError) ReadTotalTimeout = Class.new(Net::ReadTimeout) + HeaderReadTimeout = Class.new(Net::ReadTimeout) HTTP_TIMEOUT_ERRORS = [ Net::OpenTimeout, Net::ReadTimeout, Net::WriteTimeout, Gitlab::HTTP::ReadTotalTimeout |