mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3670-fix-http-headers-test' into 'main'
Update the HTTP headers test to check for 101 headers Closes #3670 See merge request isc-projects/bind9!7070
This commit is contained in:
commit
ba5bd5f104
1 changed files with 2 additions and 2 deletions
|
|
@ -432,13 +432,13 @@ if [ -x "${CURL}" ] && ! ("${CURL}" --next 2>&1 | grep 'option --next: is unknow
|
|||
CURL_NEXT="${CURL}"
|
||||
fi
|
||||
|
||||
echo_i "Check HTTP with more than 10 headers ($n)"
|
||||
echo_i "Check HTTP with more than 100 headers ($n)"
|
||||
ret=0
|
||||
i=0
|
||||
if [ -x "${CURL_NEXT}" ] ; then
|
||||
# build input stream.
|
||||
: > header.in$n
|
||||
while test $i -lt 11
|
||||
while test $i -lt 101
|
||||
do
|
||||
printf 'X-Bloat%d: VGhlIG1vc3QgY29tbW9uIHJlYXNvbiBmb3IgYmxvYXRpbmcgaXMgaGF2aW5nIGEgbG90IG9mIGdhcyBpbiB5b3VyIGd1dC4gCg==\r\n' $i >> header.in$n
|
||||
i=$((i+1))
|
||||
|
|
|
|||
Loading…
Reference in a new issue