From c0565c417ba52b55c87cc72c9bf1c4fd24809aeb Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Wed, 26 Feb 2020 12:10:41 +0100 Subject: [PATCH] Revert "Retry cURL downloads (#50731)" (#51466) This reverts commit 492fb6381ef589fc36e0371ad3af87cc689c4926. Reason for revert: Dart HHH infrastructure including Golem builders are using older images which have older curl which does not support these flags. Upgrading images takes long time - so in the interim we are forced to revert to avoid accumulating gap in coverage. --- bin/internal/update_dart_sdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/internal/update_dart_sdk.sh b/bin/internal/update_dart_sdk.sh index e836e20f02..18eb99fee8 100755 --- a/bin/internal/update_dart_sdk.sh +++ b/bin/internal/update_dart_sdk.sh @@ -81,7 +81,7 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t mkdir -m 755 -p -- "$DART_SDK_PATH" DART_SDK_ZIP="$FLUTTER_ROOT/bin/cache/$DART_ZIP_NAME" - curl --retry-connrefused --retry 3 --retry-delay 5 --continue-at - --location --output "$DART_SDK_ZIP" "$DART_SDK_URL" 2>&1 || { + curl --continue-at - --location --output "$DART_SDK_ZIP" "$DART_SDK_URL" 2>&1 || { echo echo "Failed to retrieve the Dart SDK from: $DART_SDK_URL" echo "If you're located in China, please see this page:"