curl-curl/tests/data/test1674
Daniel Stenberg 93e80c75b4
hsts: accept 10K entries in the list
Up from 1K.

Reduces the risk that someone could flush the list by tricking a user to
do many transfers to new hostnames.

Document the limit.

Follow-up to 03a792b186

Closes #21200
2026-04-02 10:22:35 +02:00

39 lines
502 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
unittest
HSTS
</keywords>
</info>
<client>
<features>
unittest
HSTS
</features>
# This date is exactly "20190124 22:34:21" UTC
<setenv>
CURL_TIME=1548369261
</setenv>
<name>
HSTS load more than 10k entries from file
</name>
# test 1674 renders the input file itself, then reads it
<command>
%LOGDIR/hsts%TESTNUMBER
</command>
</client>
<verify>
<stdout>
OK
</stdout>
<limits>
Allocations: 11000
</limits>
</verify>
</testcase>