mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B OpenNebula/one#6431: change retry-all to retry-connrefused (#2889)
Signed-off-by: Neal Hansen <nhansen@opennebula.io> Co-authored-by: Tino Vázquez <cvazquez@opennebula.io> (cherry picked from commit deb4a9d7ddb6b0bd8c57cbfa70426f0871962d99)
This commit is contained in:
parent
97c7c93933
commit
8f1c215385
@ -311,7 +311,7 @@ function curl_retry_args {
|
||||
CURL_VER=`curl --version | grep -o 'curl [0-9\.]*' | awk '{print $2}'`
|
||||
|
||||
# To retry also on conn-reset-by-peer fresh curl is needed
|
||||
if verlte "7.71.0" "$CURL_VER"; then
|
||||
if verlte "7.71.0" "$CURL_VER" && [ -z ${MAX_SIZE} ] ; then
|
||||
RETRY_ARGS+=" --retry-all-errors"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user