mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-13 09:41:52 +02:00
only exec QUIC when SERVICE= HTTP
... and document wait_kill better
This commit is contained in:
parent
35cb521ef2
commit
7a6c652de0
@ -2221,6 +2221,12 @@ check_revocation_ocsp() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# waits maxsleep seconds (arg2) until process with arg1 (pid) will be killed
|
||||||
|
#
|
||||||
|
# return values
|
||||||
|
# 0: process terminated before be killed
|
||||||
|
# 3: was killed
|
||||||
|
#
|
||||||
wait_kill(){
|
wait_kill(){
|
||||||
local pid=$1 # pid we wait for or kill
|
local pid=$1 # pid we wait for or kill
|
||||||
local maxsleep=$2 # how long we wait before killing
|
local maxsleep=$2 # how long we wait before killing
|
||||||
@ -6208,6 +6214,7 @@ sub_quic() {
|
|||||||
local jsonID="QUIC"
|
local jsonID="QUIC"
|
||||||
|
|
||||||
[[ $DEBUG -ne 0 ]] && sclient_errfile=/dev/null
|
[[ $DEBUG -ne 0 ]] && sclient_errfile=/dev/null
|
||||||
|
[[ "$SERVICE" != HTTP ]] && return 0
|
||||||
|
|
||||||
pr_bold " QUIC ";
|
pr_bold " QUIC ";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user