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
cb8b341f
Commit
cb8b341f
authored
Mar 02, 2023
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4530
parent
982c54b6
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
cb8b341f
...
...
@@ -2229,8 +2229,8 @@ _send_signed_request() {
_debug3 _body
"
$_body
"
fi
if
[
"
$code
"
=
'503'
]
;
then
_retryafter
=
$(
echo
"
$responseHeaders
"
|
grep
-i
"^Retry-After *:"
|
cut
-d
:
-f
2 |
tr
-d
' '
|
tr
-d
'\r'
)
if
[
"
$code
"
=
'503'
]
||
[
"
$_retryafter
"
]
;
then
_sleep_overload_retry_sec
=
$_retryafter
if
[
-z
"
$_sleep_overload_retry_sec
"
]
;
then
_sleep_overload_retry_sec
=
5
...
...
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