From 7a6c652de0bae96be0a8750c857dbd1998b15d7b Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Sun, 20 Jul 2025 15:28:12 +0200 Subject: [PATCH] only exec QUIC when SERVICE= HTTP ... and document wait_kill better --- testssl.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testssl.sh b/testssl.sh index 9214fa4..ac87d5a 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2221,6 +2221,12 @@ check_revocation_ocsp() { 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(){ local pid=$1 # pid we wait for or kill local maxsleep=$2 # how long we wait before killing @@ -6208,6 +6214,7 @@ sub_quic() { local jsonID="QUIC" [[ $DEBUG -ne 0 ]] && sclient_errfile=/dev/null + [[ "$SERVICE" != HTTP ]] && return 0 pr_bold " QUIC ";