summaryrefslogtreecommitdiff
path: root/lib/rubygems/request/http_pool.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/request/http_pool.rb')
-rw-r--r--lib/rubygems/request/http_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request/http_pool.rb b/lib/rubygems/request/http_pool.rb
index 9985bbafa6..f028516db8 100644
--- a/lib/rubygems/request/http_pool.rb
+++ b/lib/rubygems/request/http_pool.rb
@@ -12,7 +12,7 @@ class Gem::Request::HTTPPool # :nodoc:
@http_args = http_args
@cert_files = cert_files
@proxy_uri = proxy_uri
- @queue = SizedQueue.new 1
+ @queue = Thread::SizedQueue.new 1
@queue << nil
end