mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-12 17:21:17 +02:00
Merge pull request #2853 from testssl/quic_httpfix
only exec QUIC when SERVICE= HTTP
This commit is contained in:
commit
274a9ca5d6
@ -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 ";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user