Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
59fd48cf
Commit
59fd48cf
authored
May 19, 2020
by
neil
Browse files
support Retry-After header
https://github.com/acmesh-official/acme.sh/issues/2939
parent
cc78ab48
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
59fd48cf
...
...
@@ -4517,6 +4517,12 @@ $_authorizations_map"
_info
"Pending"
elif
[
"
$status
"
=
"processing"
]
;
then
_info
"Processing"
_retryafter
=
$(
echo
"
$responseHeaders
"
|
grep
-i
"^Retry-After *:"
|
cut
-d
:
-f
2 |
tr
-d
' '
)
_debug
"_retryafter"
"
$_retryafter
"
if
[
"
$_retryafter
"
]
;
then
_info
"Retry after:
$_retryafter
"
_sleep
$_retryafter
fi
else
_err
"
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment