xref: /aosp_15_r20/external/curl/tests/data/test1559 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerCURLOPT_URL
5*6236dae4SAndroid Build Coastguard Workerverbose logs
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker<reply>
10*6236dae4SAndroid Build Coastguard Worker</reply>
11*6236dae4SAndroid Build Coastguard Worker
12*6236dae4SAndroid Build Coastguard Worker<client>
13*6236dae4SAndroid Build Coastguard Worker<server>
14*6236dae4SAndroid Build Coastguard Workernone
15*6236dae4SAndroid Build Coastguard Worker</server>
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# require HTTP so that CURLOPT_POSTFIELDS works as assumed
18*6236dae4SAndroid Build Coastguard Worker<features>
19*6236dae4SAndroid Build Coastguard Workerhttp
20*6236dae4SAndroid Build Coastguard Worker</features>
21*6236dae4SAndroid Build Coastguard Worker<tool>
22*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
23*6236dae4SAndroid Build Coastguard Worker</tool>
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard Worker<name>
26*6236dae4SAndroid Build Coastguard WorkerSet excessive URL lengths
27*6236dae4SAndroid Build Coastguard Worker</name>
28*6236dae4SAndroid Build Coastguard Worker</client>
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard Worker#
31*6236dae4SAndroid Build Coastguard Worker# Verify that the test runs to completion without crashing
32*6236dae4SAndroid Build Coastguard Worker<verify>
33*6236dae4SAndroid Build Coastguard Worker<errorcode>
34*6236dae4SAndroid Build Coastguard Worker0
35*6236dae4SAndroid Build Coastguard Worker</errorcode>
36*6236dae4SAndroid Build Coastguard Worker<stdout>
37*6236dae4SAndroid Build Coastguard WorkerCURLOPT_URL 10000000 bytes URL == 43
38*6236dae4SAndroid Build Coastguard WorkerCURLOPT_POSTFIELDS 10000000 bytes data == 0
39*6236dae4SAndroid Build Coastguard WorkerCURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
40*6236dae4SAndroid Build Coastguard WorkerCURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function)
41*6236dae4SAndroid Build Coastguard WorkerCURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
42*6236dae4SAndroid Build Coastguard Worker</stdout>
43*6236dae4SAndroid Build Coastguard Worker</verify>
44*6236dae4SAndroid Build Coastguard Worker
45*6236dae4SAndroid Build Coastguard Worker</testcase>
46