delete `--false-start --http2 --tlsv1.2`
Try to fix #132. > `-q`: Disable .curlrc > `-#`: Display transfer progress as a barpull/137/head
parent
b990f89b6e
commit
3a63c11ec9
|
@ -27,7 +27,9 @@ red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
reset=$(tput sgr0)
|
reset=$(tput sgr0)
|
||||||
|
|
||||||
alias curl='"curl" --retry 5 --retry-delay 10 --retry-max-time 60 --false-start --http2 --tlsv1.2 -L'
|
curl() {
|
||||||
|
$(type -P curl) -L -q -# --retry 5 --retry-delay 10 --retry-max-time 60 --false-start --http2 --tlsv1.2 "$@"
|
||||||
|
}
|
||||||
|
|
||||||
check_if_running_as_root() {
|
check_if_running_as_root() {
|
||||||
# If you want to run as another user, please modify $UID to be owned by this user
|
# If you want to run as another user, please modify $UID to be owned by this user
|
||||||
|
|
Loading…
Reference in New Issue