Debian Codegraph @

deps/curl/tests/data/test1522

raw
1 <testcase>
2 <info>
3 <keywords>
4 CURLINFO_SIZE_UPLOAD
5 </keywords>
6 </info>
7
8 # Server-side
9 <reply>
10 <data nocheck="yes">
11 HTTP/1.1 200 OK
12 Date: Thu, 09 Nov 2010 14:49:00 GMT
13 Server: test-server/fake
14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15 ETag: "21025-dc7-39462498"
16 Accept-Ranges: bytes
17 Content-Length: 6
18 Connection: close
19 Content-Type: text/html
20 Funny-head: yesyes
21
22 -foo-
23 </data>
24 </reply>
25 #
26 # Client-side
27 <client>
28 <server>
29 http
30 </server>
31 <tool>
32 lib1522
33 </tool>
34
35 <name>
36 CURLINFO_SIZE_UPLOAD with small SO_SNDBUF
37 </name>
38
39 <command>
40 http://%HOSTIP:%HTTPPORT/1522
41 </command>
42 </client>
43
44 #
45 # Verify data after the test has been "shot"
46 <verify>
47 <stdout>
48 -foo-
49 uploadSize = 40960
50 !!!!!!!!!! PASS
51 </stdout>
52 </verify>
53 </testcase>