1<testcase>
2# Server-side
3<reply>
4<data nocheck="yes">
5HTTP/1.1 200 OK swsclose
6Date: Thu, 09 Nov 2010 14:49:00 GMT
7Content-Length: 9
8
9surprise
10</data>
11<data1>
12HTTP/1.1 200 OK swsclose
13Date: Thu, 09 Nov 2010 14:49:00 GMT
14Connection: close
15
16surprise2
17</data1>
18
19<postcmd>
20wait 1
21</postcmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29 <name>
30HTTP with delayed close, conn reuse, connection reset and retry
31 </name>
32 <command>
33http://%HOSTIP:%HTTPPORT/want/160 http://%HOSTIP:%HTTPPORT/wantmore/1600001
34</command>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<stdout>
40HTTP/1.1 200 OK swsclose
41Date: Thu, 09 Nov 2010 14:49:00 GMT
42Content-Length: 9
43
44surprise
45HTTP/1.1 200 OK swsclose
46Date: Thu, 09 Nov 2010 14:49:00 GMT
47Connection: close
48
49surprise2
50</stdout>
51
52<strip>
53^User-Agent:.*
54</strip>
55<protocol>
56GET /want/160 HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58Accept: */*
59
60GET /wantmore/1600001 HTTP/1.1
61Host: %HOSTIP:%HTTPPORT
62Accept: */*
63
64</protocol>
65</verify>
66</testcase>
67