xref: /curl/tests/data/test444 (revision e7a021e1)
1<testcase>
2# perl:
3#
4#for(1 .. 200) {
5#
6#}
7#
8<info>
9<keywords>
10HTTP
11cookies
12--resolve
13</keywords>
14</info>
15
16#
17# Server-side
18<reply>
19<data>
20HTTP/1.1 200 OK
21Date: Tue, 09 Nov 2010 14:49:00 GMT
22Server: test-server/fake
23Content-Length: 6
24Set-Cookie: cookie-1=yes;
25Set-Cookie: cookie-2=yes;
26Set-Cookie: cookie-3=yes;
27Set-Cookie: cookie-4=yes;
28Set-Cookie: cookie-5=yes;
29Set-Cookie: cookie-6=yes;
30Set-Cookie: cookie-7=yes;
31Set-Cookie: cookie-8=yes;
32Set-Cookie: cookie-9=yes;
33Set-Cookie: cookie-10=yes;
34Set-Cookie: cookie-11=yes;
35Set-Cookie: cookie-12=yes;
36Set-Cookie: cookie-13=yes;
37Set-Cookie: cookie-14=yes;
38Set-Cookie: cookie-15=yes;
39Set-Cookie: cookie-16=yes;
40Set-Cookie: cookie-17=yes;
41Set-Cookie: cookie-18=yes;
42Set-Cookie: cookie-19=yes;
43Set-Cookie: cookie-20=yes;
44Set-Cookie: cookie-21=yes;
45Set-Cookie: cookie-22=yes;
46Set-Cookie: cookie-23=yes;
47Set-Cookie: cookie-24=yes;
48Set-Cookie: cookie-25=yes;
49Set-Cookie: cookie-26=yes;
50Set-Cookie: cookie-27=yes;
51Set-Cookie: cookie-28=yes;
52Set-Cookie: cookie-29=yes;
53Set-Cookie: cookie-30=yes;
54Set-Cookie: cookie-31=yes;
55Set-Cookie: cookie-32=yes;
56Set-Cookie: cookie-33=yes;
57Set-Cookie: cookie-34=yes;
58Set-Cookie: cookie-35=yes;
59Set-Cookie: cookie-36=yes;
60Set-Cookie: cookie-37=yes;
61Set-Cookie: cookie-38=yes;
62Set-Cookie: cookie-39=yes;
63Set-Cookie: cookie-40=yes;
64Set-Cookie: cookie-41=yes;
65Set-Cookie: cookie-42=yes;
66Set-Cookie: cookie-43=yes;
67Set-Cookie: cookie-44=yes;
68Set-Cookie: cookie-45=yes;
69Set-Cookie: cookie-46=yes;
70Set-Cookie: cookie-47=yes;
71Set-Cookie: cookie-48=yes;
72Set-Cookie: cookie-49=yes;
73Set-Cookie: cookie-50=yes;
74Set-Cookie: cookie-51=yes;
75Set-Cookie: cookie-52=yes;
76Set-Cookie: cookie-53=yes;
77Set-Cookie: cookie-54=yes;
78Set-Cookie: cookie-55=yes;
79Set-Cookie: cookie-56=yes;
80Set-Cookie: cookie-57=yes;
81Set-Cookie: cookie-58=yes;
82Set-Cookie: cookie-59=yes;
83Set-Cookie: cookie-60=yes;
84Set-Cookie: cookie-61=yes;
85Set-Cookie: cookie-62=yes;
86Set-Cookie: cookie-63=yes;
87Set-Cookie: cookie-64=yes;
88Set-Cookie: cookie-65=yes;
89Set-Cookie: cookie-66=yes;
90Set-Cookie: cookie-67=yes;
91Set-Cookie: cookie-68=yes;
92Set-Cookie: cookie-69=yes;
93Set-Cookie: cookie-70=yes;
94Set-Cookie: cookie-71=yes;
95Set-Cookie: cookie-72=yes;
96Set-Cookie: cookie-73=yes;
97Set-Cookie: cookie-74=yes;
98Set-Cookie: cookie-75=yes;
99Set-Cookie: cookie-76=yes;
100Set-Cookie: cookie-77=yes;
101Set-Cookie: cookie-78=yes;
102Set-Cookie: cookie-79=yes;
103Set-Cookie: cookie-80=yes;
104
105-foo-
106</data>
107</reply>
108
109#
110# Client-side
111<client>
112<server>
113http
114</server>
115<name>
116Many Set-Cookie response headers
117</name>
118<command>
119http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -c %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP
120</command>
121<features>
122cookies
123</features>
124</client>
125
126#
127# Verify data after the test has been "shot"
128<verify>
129<protocol>
130GET /a/b/%TESTNUMBER HTTP/1.1
131Host: attack.invalid:%HTTPPORT
132User-Agent: curl/%VERSION
133Accept: */*
134
135</protocol>
136<file name="%LOGDIR/cookie%TESTNUMBER" mode="text">
137# Netscape HTTP Cookie File
138# https://curl.se/docs/http-cookies.html
139# This file was generated by libcurl! Edit at your own risk.
140
141attack.invalid	FALSE	/a/b/	FALSE	0	cookie-50	yes
142attack.invalid	FALSE	/a/b/	FALSE	0	cookie-49	yes
143attack.invalid	FALSE	/a/b/	FALSE	0	cookie-48	yes
144attack.invalid	FALSE	/a/b/	FALSE	0	cookie-47	yes
145attack.invalid	FALSE	/a/b/	FALSE	0	cookie-46	yes
146attack.invalid	FALSE	/a/b/	FALSE	0	cookie-45	yes
147attack.invalid	FALSE	/a/b/	FALSE	0	cookie-44	yes
148attack.invalid	FALSE	/a/b/	FALSE	0	cookie-43	yes
149attack.invalid	FALSE	/a/b/	FALSE	0	cookie-42	yes
150attack.invalid	FALSE	/a/b/	FALSE	0	cookie-41	yes
151attack.invalid	FALSE	/a/b/	FALSE	0	cookie-40	yes
152attack.invalid	FALSE	/a/b/	FALSE	0	cookie-39	yes
153attack.invalid	FALSE	/a/b/	FALSE	0	cookie-38	yes
154attack.invalid	FALSE	/a/b/	FALSE	0	cookie-37	yes
155attack.invalid	FALSE	/a/b/	FALSE	0	cookie-36	yes
156attack.invalid	FALSE	/a/b/	FALSE	0	cookie-35	yes
157attack.invalid	FALSE	/a/b/	FALSE	0	cookie-34	yes
158attack.invalid	FALSE	/a/b/	FALSE	0	cookie-33	yes
159attack.invalid	FALSE	/a/b/	FALSE	0	cookie-32	yes
160attack.invalid	FALSE	/a/b/	FALSE	0	cookie-31	yes
161attack.invalid	FALSE	/a/b/	FALSE	0	cookie-30	yes
162attack.invalid	FALSE	/a/b/	FALSE	0	cookie-29	yes
163attack.invalid	FALSE	/a/b/	FALSE	0	cookie-28	yes
164attack.invalid	FALSE	/a/b/	FALSE	0	cookie-27	yes
165attack.invalid	FALSE	/a/b/	FALSE	0	cookie-26	yes
166attack.invalid	FALSE	/a/b/	FALSE	0	cookie-25	yes
167attack.invalid	FALSE	/a/b/	FALSE	0	cookie-24	yes
168attack.invalid	FALSE	/a/b/	FALSE	0	cookie-23	yes
169attack.invalid	FALSE	/a/b/	FALSE	0	cookie-22	yes
170attack.invalid	FALSE	/a/b/	FALSE	0	cookie-21	yes
171attack.invalid	FALSE	/a/b/	FALSE	0	cookie-20	yes
172attack.invalid	FALSE	/a/b/	FALSE	0	cookie-19	yes
173attack.invalid	FALSE	/a/b/	FALSE	0	cookie-18	yes
174attack.invalid	FALSE	/a/b/	FALSE	0	cookie-17	yes
175attack.invalid	FALSE	/a/b/	FALSE	0	cookie-16	yes
176attack.invalid	FALSE	/a/b/	FALSE	0	cookie-15	yes
177attack.invalid	FALSE	/a/b/	FALSE	0	cookie-14	yes
178attack.invalid	FALSE	/a/b/	FALSE	0	cookie-13	yes
179attack.invalid	FALSE	/a/b/	FALSE	0	cookie-12	yes
180attack.invalid	FALSE	/a/b/	FALSE	0	cookie-11	yes
181attack.invalid	FALSE	/a/b/	FALSE	0	cookie-10	yes
182attack.invalid	FALSE	/a/b/	FALSE	0	cookie-9	yes
183attack.invalid	FALSE	/a/b/	FALSE	0	cookie-8	yes
184attack.invalid	FALSE	/a/b/	FALSE	0	cookie-7	yes
185attack.invalid	FALSE	/a/b/	FALSE	0	cookie-6	yes
186attack.invalid	FALSE	/a/b/	FALSE	0	cookie-5	yes
187attack.invalid	FALSE	/a/b/	FALSE	0	cookie-4	yes
188attack.invalid	FALSE	/a/b/	FALSE	0	cookie-3	yes
189attack.invalid	FALSE	/a/b/	FALSE	0	cookie-2	yes
190attack.invalid	FALSE	/a/b/	FALSE	0	cookie-1	yes
191</file>
192</verify>
193</testcase>
194