summaryrefslogtreecommitdiff
path: root/lib/rubygems/request/https_pool.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/request/https_pool.rb')
-rw-r--r--lib/rubygems/request/https_pool.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/rubygems/request/https_pool.rb b/lib/rubygems/request/https_pool.rb
new file mode 100644
index 0000000000..1236079b7d
--- /dev/null
+++ b/lib/rubygems/request/https_pool.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
+
+ private
+
+ def setup_connection(connection)
+ Gem::Request.configure_connection_for_https(connection, @cert_files)
+ super
+ end
+
+end