Merge pull request #2853 from testssl/quic_httpfix

only exec QUIC when SERVICE= HTTP
This commit is contained in:
Dirk Wetter 2025-07-20 18:06:14 +02:00 committed by GitHub
commit 274a9ca5d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2228,6 +2228,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
@ -6215,6 +6221,7 @@ sub_quic() {
local jsonID="QUIC"
[[ $DEBUG -ne 0 ]] && sclient_errfile=/dev/null
[[ "$SERVICE" != HTTP ]] && return 0
pr_bold " QUIC ";