Merge 4b667c4063 into 0f48b15695
This commit is contained in:
commit
0c246d9fe3
6
acme.sh
6
acme.sh
@ -98,6 +98,8 @@ _PREPARE_LINK="https://github.com/Neilpang/acme.sh/wiki/Install-preparations"
|
|||||||
|
|
||||||
_STATELESS_WIKI="https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode"
|
_STATELESS_WIKI="https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode"
|
||||||
|
|
||||||
|
DEFAULT_TIMEOUT=60
|
||||||
|
|
||||||
__INTERACTIVE=""
|
__INTERACTIVE=""
|
||||||
if [ -t 1 ]; then
|
if [ -t 1 ]; then
|
||||||
__INTERACTIVE="1"
|
__INTERACTIVE="1"
|
||||||
@ -1598,6 +1600,10 @@ _get() {
|
|||||||
url="$1"
|
url="$1"
|
||||||
onlyheader="$2"
|
onlyheader="$2"
|
||||||
t="$3"
|
t="$3"
|
||||||
|
if [ -z "$t" ]; then
|
||||||
|
# Set default timeout
|
||||||
|
t=$DEFAULT_TIMEOUT
|
||||||
|
fi
|
||||||
_debug url "$url"
|
_debug url "$url"
|
||||||
_debug "timeout" "$t"
|
_debug "timeout" "$t"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user