1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 HTTP proxy 7 </keywords> 8 </info> 9 10 # 11 # Server-side 12 <reply> 13 <data nocheck="yes"> 14 HTTP/1.1 200 OK 15 Uknown-header: blrub 16 Content-Length: 6 17 18 -foo- 19 </data> 20 21 <servercmd> 22 connection-monitor 23 </servercmd> 24 </reply> 25 26 # 27 # Client-side 28 <client> 29 <server> 30 http 31 </server> 32 <name> 33 Re-using HTTP proxy connection for two different host names 34 </name> 35 <command> 36 --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1421:8990/ http://different.remote.haxx.se.1421:8990 37 </command> 38 </client> 39 40 # 41 # Verify data after the test has been "shot" 42 <verify> 43 <stdout> 44 HTTP/1.1 200 OK 45 Uknown-header: blrub 46 Content-Length: 6 47 48 -foo- 49 HTTP/1.1 200 OK 50 Uknown-header: blrub 51 Content-Length: 6 52 53 -foo- 54 </stdout> 55 <strip> 56 ^User-Agent:.* 57 </strip> 58 <protocol> 59 GET http://test.remote.haxx.se.1421:8990/ HTTP/1.1 60 Host: test.remote.haxx.se.1421:8990 61 Accept: */* 62 Proxy-Connection: Keep-Alive 63 64 GET http://different.remote.haxx.se.1421:8990/ HTTP/1.1 65 Host: different.remote.haxx.se.1421:8990 66 Accept: */* 67 Proxy-Connection: Keep-Alive 68 69 [DISCONNECT] 70 </protocol> 71 </verify> 72 </testcase> 73