When curl encounters a 5xx error, it retries the request. The request is retried until all attempts are exhausted, or until one of the attempts succeeds. In the event a curl retry succeeded with a 200, install.sh would incorrectly parse the response as a failure. This meant that any curl request that failed on the first attempt but succeeded on a subsequent attempt would still be considered a failure. Note that this bug did not affect wget because wget does not retry on 5xx.
When curl encounters a
5xx
error, it retries the request. The request is retried until all attempts are exhausted, or until one of the attempts succeeds. In the event a curl retry succeeded with a 200, install.sh would incorrectly parse the response as a failure. This meant that any curl request that failed on the first attempt but succeeded on a subsequent attempt would still be considered a failure. Note that this bug did not affect wget because wget does not retry on5xx
.Closes ENG-2011.