2019-04-29 14:00:49 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
CURLOPT_URL
|
2021-12-01 10:32:53 +08:00
|
|
|
verbose logs
|
2019-04-29 14:00:49 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
|
|
|
|
# require HTTP so that CURLOPT_POSTFIELDS works as assumed
|
|
|
|
<features>
|
|
|
|
http
|
|
|
|
</features>
|
|
|
|
<tool>
|
2021-03-13 00:38:26 +08:00
|
|
|
lib%TESTNUMBER
|
2019-04-29 14:00:49 +08:00
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
Set excessive URL lengths
|
|
|
|
</name>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify that the test runs to completion without crashing
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
0
|
|
|
|
</errorcode>
|
|
|
|
<stdout>
|
|
|
|
CURLOPT_URL 10000000 bytes URL == 43
|
|
|
|
CURLOPT_POSTFIELDS 10000000 bytes data == 0
|
2021-11-24 00:07:31 +08:00
|
|
|
CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
|
|
|
|
CURLUPART_SCHEME 10000000 bytes scheme == 27 (Bad scheme)
|
|
|
|
CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
|
2019-04-29 14:00:49 +08:00
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|