Skip to content

Instantly share code, notes, and snippets.

@mtarnovan
Created February 9, 2017 15:23
Show Gist options
  • Save mtarnovan/eb026a9f7f0388aea85fffd99aa0e4fd to your computer and use it in GitHub Desktop.
Save mtarnovan/eb026a9f7f0388aea85fffd99aa0e4fd to your computer and use it in GitHub Desktop.
mtarnovan@vps1 ~ # curl --progress-bar -L --fail --retry 3 --retry-delay 1 --connect-timeout 5 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.3.0.tgz -O
######################################################################## 100.0%
mtarnovan@vps1 ~ # md5sum ruby-2.3.0.tgz
dd963e5a41247a7d4e8817efe95e8123 ruby-2.3.0.tgz
mtarnovan@vps2:~$ curl --progress-bar -L --fail --retry 3 --retry-delay 1 --connect-timeout 5 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.3.0.tgz -O
######################### 35.0%Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Throwing away 6370974 bytes
###################### 31.3%Warning: Transient problem: timeout Will retry in 1 seconds. 2 retries left.
Throwing away 5692062 bytes
################################ 45.6%Warning: Transient problem: timeout Will retry in 1 seconds. 1 retries left.
Throwing away 8320670 bytes
########### 16.4%
curl: (28) Operation timed out after 29968 milliseconds with 2976414 out of 18162444 bytes received
mtarnovan@vps3:~$ curl --progress-bar -L --fail --retry 3 --retry-delay 1 --connect-timeout 5 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.3.0.tgz -O
############################################# 63.7%Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Throwing away 11627142 bytes
########################################################## 81.2%Warning: Transient problem: timeout Will retry in 1 seconds. 2 retries left.
Throwing away 14779038 bytes
######################################################################## 100.0%
mtarnovan@vps3:~$ md5sum ruby-2.3.0.tgz
dd963e5a41247a7d4e8817efe95e8123 ruby-2.3.0.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment