mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
Update acme.sh
This commit is contained in:
parent
15dded712c
commit
1fe8235a85
15
acme.sh
15
acme.sh
@ -4517,12 +4517,6 @@ $_authorizations_map"
|
|||||||
_info "Pending"
|
_info "Pending"
|
||||||
elif [ "$status" = "processing" ]; then
|
elif [ "$status" = "processing" ]; then
|
||||||
_info "Processing"
|
_info "Processing"
|
||||||
_retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ' | tr -d '\r')
|
|
||||||
_debug "_retryafter" "$_retryafter"
|
|
||||||
if [ "$_retryafter" ]; then
|
|
||||||
_info "Retry after: $_retryafter"
|
|
||||||
_sleep $_retryafter
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
_err "$d:Verify error:$response"
|
_err "$d:Verify error:$response"
|
||||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||||
@ -4574,7 +4568,14 @@ $_authorizations_map"
|
|||||||
break
|
break
|
||||||
elif _contains "$response" "\"processing\""; then
|
elif _contains "$response" "\"processing\""; then
|
||||||
_info "Order status is processing, lets sleep and retry."
|
_info "Order status is processing, lets sleep and retry."
|
||||||
_sleep 2
|
_retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ' | tr -d '\r')
|
||||||
|
_debug "_retryafter" "$_retryafter"
|
||||||
|
if [ "$_retryafter" ]; then
|
||||||
|
_info "Retry after: $_retryafter"
|
||||||
|
_sleep $_retryafter
|
||||||
|
else
|
||||||
|
_sleep 2
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
_err "Sign error, wrong status"
|
_err "Sign error, wrong status"
|
||||||
_err "$response"
|
_err "$response"
|
||||||
|
Loading…
Reference in New Issue
Block a user