xref: /curl/tests/data/test1559 (revision dacd2588)
1<testcase>
2<info>
3<keywords>
4CURLOPT_URL
5verbose logs
6</keywords>
7</info>
8
9<reply>
10</reply>
11
12<client>
13<server>
14none
15</server>
16
17# require HTTP so that CURLOPT_POSTFIELDS works as assumed
18<features>
19http
20</features>
21<tool>
22lib%TESTNUMBER
23</tool>
24
25<name>
26Set excessive URL lengths
27</name>
28</client>
29
30#
31# Verify that the test runs to completion without crashing
32<verify>
33<errorcode>
340
35</errorcode>
36<stdout>
37CURLOPT_URL 10000000 bytes URL == 43
38CURLOPT_POSTFIELDS 10000000 bytes data == 0
39CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
40CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function)
41CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
42</stdout>
43</verify>
44
45</testcase>
46