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