diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-11 15:19:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-11 15:19:13 +0300 |
commit | 39c4905723dab98b383e7dc5940caa7f8080c2cc (patch) | |
tree | 92bc25246971b64d65aea0fbaffda41629bec284 /lib/gitlab/http_connection_adapter.rb | |
parent | 02f78c1ee8be411f4455c6679cfd87f3a0b2721b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/http_connection_adapter.rb')
-rw-r--r-- | lib/gitlab/http_connection_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/http_connection_adapter.rb b/lib/gitlab/http_connection_adapter.rb index 39051e4ec19..dfecf3a669e 100644 --- a/lib/gitlab/http_connection_adapter.rb +++ b/lib/gitlab/http_connection_adapter.rb @@ -29,7 +29,7 @@ module Gitlab http = super http.hostname_override = hostname if hostname - if options[:use_read_total_timeout] + if Feature.enabled?(:header_read_timeout_buffered_io) gitlab_http = Gitlab::NetHttpAdapter.new(http.address, http.port) http.instance_variables.each do |variable| |