2021-12-17 14:58:35 +00:00
|
|
|
#!/dev/null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<< clients / nghttp / https
|
|
|
|
exec -- "${ZRUN[@]}" ':: clients / nghttp' https 127.9.185.194:8443 "${@}"
|
|
|
|
!!
|
|
|
|
|
|
|
|
<< clients / nghttp / http2
|
|
|
|
exec -- "${ZRUN[@]}" ':: clients / nghttp' https 127.9.185.194:8444 "${@}"
|
|
|
|
!!
|
|
|
|
|
|
|
|
--<< clients / nghttp
|
|
|
|
test "${#}" -ge 2
|
|
|
|
_url_base="${1}://${2}"
|
|
|
|
shift -- 2
|
|
|
|
if test "${#}" -ge 1 ; then
|
|
|
|
if test "${1:0:1}" != '-' ; then
|
|
|
|
_path="${1}"
|
|
|
|
_path="${_path#/}"
|
|
|
|
shift -- 1
|
|
|
|
else
|
|
|
|
_path=''
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
_path=''
|
|
|
|
fi
|
|
|
|
exec -- \
|
|
|
|
"${ZRUN[@]}" ':: tools / nghttp' \
|
|
|
|
--null-out \
|
|
|
|
--stat \
|
|
|
|
"${@}" \
|
|
|
|
-- \
|
|
|
|
"${_url_base}/${_path}" \
|
|
|
|
#
|
|
|
|
!!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<< clients / curl / http
|
2021-12-18 00:51:51 +00:00
|
|
|
exec -- "${ZRUN[@]}" ':: clients / curl' http 127.9.185.194:8080 "${@}" --http1.1
|
2021-12-17 14:58:35 +00:00
|
|
|
!!
|
|
|
|
|
|
|
|
<< clients / curl / https
|
2021-12-18 00:51:51 +00:00
|
|
|
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.9.185.194:8443 "${@}" --http1.1
|
2021-12-17 14:58:35 +00:00
|
|
|
!!
|
|
|
|
|
|
|
|
<< clients / curl / http2
|
2021-12-18 00:51:51 +00:00
|
|
|
exec -- "${ZRUN[@]}" ':: clients / curl' https 127.9.185.194:8444 "${@}" --http2
|
2021-12-17 14:58:35 +00:00
|
|
|
!!
|
|
|
|
|
|
|
|
<< clients / curl
|
|
|
|
test "${#}" -ge 2
|
|
|
|
_url_base="${1}://${2}"
|
|
|
|
shift -- 2
|
|
|
|
if test "${#}" -ge 1 ; then
|
|
|
|
if test "${1:0:1}" != '-' ; then
|
|
|
|
_path="${1}"
|
|
|
|
_path="${_path#/}"
|
|
|
|
shift -- 1
|
|
|
|
else
|
|
|
|
_path=''
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
_path=''
|
|
|
|
fi
|
|
|
|
exec -- \
|
|
|
|
"${ZRUN[@]}" ':: tools / curl' \
|
|
|
|
--compressed \
|
|
|
|
--output /dev/stdout \
|
|
|
|
--dump-header /dev/stdout \
|
|
|
|
"${@}" \
|
|
|
|
-- \
|
|
|
|
"${_url_base}/${_path}" \
|
|
|
|
#
|
|
|
|
!!
|
|
|
|
|