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.
This commit is contained in:
Vyacheslav Egorov 2020-02-26 12:10:41 +01:00 committed by GitHub
parent 492fb6381e
commit c0565c417b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t
mkdir -m 755 -p -- "$DART_SDK_PATH" mkdir -m 755 -p -- "$DART_SDK_PATH"
DART_SDK_ZIP="$FLUTTER_ROOT/bin/cache/$DART_ZIP_NAME" 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
echo "Failed to retrieve the Dart SDK from: $DART_SDK_URL" echo "Failed to retrieve the Dart SDK from: $DART_SDK_URL"
echo "If you're located in China, please see this page:" echo "If you're located in China, please see this page:"