<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP added headers
</keywords>
</info>

# Client-side
<client>
<server>
http
</server>
<name>
Reject a custom request header larger than the request buffer
</name>
<stdin>
header "X-Large: %repeat[1048576 x x]%"
</stdin>
<command>
-K - http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>

# Verify data after the test has been "shot"
<verify>
# 100 == CURLE_TOO_LARGE
<errorcode>
100
</errorcode>
<limits>
Maximum allocated: 6000000
</limits>
</verify>
</testcase>
