summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-07-23 18:06:11 -0700
committerAndre Arko <andre@arko.net>2014-07-23 18:06:25 -0700
commit42e4b7570deb35c2dfa76625f68960fe7ab9e742 (patch)
tree65524a2eecfc0dbf25dda2c64cb59b170a643727
parentbeede80b804d883790675f06be648443f3eb1eef (diff)
downloadbundler-42e4b7570deb35c2dfa76625f68960fe7ab9e742.tar.gz
Create persistent connection on Fetcher init.
(Might fix HTTPS request bug #3107).
-rw-r--r--lib/bundler/fetcher.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index c55e37a0cc..eb8ad25315 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -100,6 +100,7 @@ module Bundler
@public_uri.user, @public_uri.password = nil, nil # don't print these
Socket.do_not_reverse_lookup = true
+ connection # create persistent connection
end
def connection