From ef265ab3baf0d54d7c2305a9291196fecfb69df9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 28 Jun 2012 21:28:40 -0700 Subject: [PATCH] Disable read timeout for HTTP downloader --- lib/vagrant/downloaders/http.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/downloaders/http.rb b/lib/vagrant/downloaders/http.rb index c1c1b432c..5e4d10cbb 100644 --- a/lib/vagrant/downloaders/http.rb +++ b/lib/vagrant/downloaders/http.rb @@ -19,6 +19,7 @@ module Vagrant proxy_uri = resolve_proxy(uri) http = Net::HTTP.new(uri.host, uri.port, proxy_uri.host, proxy_uri.port, proxy_uri.user, proxy_uri.password) + http.read_timeout = nil # Disable the read timeout, just let it try to download if uri.scheme == "https" http.use_ssl = true