increased timeouts
This commit is contained in:
parent
bdd4db2df9
commit
77b61c8fc0
|
@ -81,7 +81,7 @@ while read -r host; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get cert.
|
# Get cert.
|
||||||
cert=$(fetch_cert "$host_and_port" 'timeout 5')
|
cert=$(fetch_cert "$host_and_port" 'timeout 10')
|
||||||
|
|
||||||
if [ -z "$cert" ]; then
|
if [ -z "$cert" ]; then
|
||||||
>&2 echo "$host_and_port - connection failed"
|
>&2 echo "$host_and_port - connection failed"
|
||||||
|
@ -97,7 +97,7 @@ while read -r host; do
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 15' 'torsocks')
|
cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 25' 'torsocks')
|
||||||
|
|
||||||
if [ -z "$cert_via_tor" ]; then
|
if [ -z "$cert_via_tor" ]; then
|
||||||
>&2 echo "$host_and_port - Tor connection failed"
|
>&2 echo "$host_and_port - Tor connection failed"
|
||||||
|
|
Loading…
Reference in New Issue