diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index d7a4746290..e6d741561e 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -236,7 +236,7 @@ module Utils max_time = hash_needed ? "600" : "25" output, = curl_output( - "--dump-header", "-", "--output", file.path, "--include", "--location", + "--dump-header", "-", "--output", file.path, "--location", "--connect-timeout", "15", "--max-time", max_time, url, user_agent: user_agent )