HTTP HTTP GET HTTP CONNECT HTTP proxy proxytunnel # # Server-side HTTP/1.1 200 Mighty fine indeed Server: test tunnel 2000 # # Client-side http http-proxy CONNECT to peer that returns nothing --proxytunnel --proxy %HOSTIP:%PROXYPORT http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER proxy # # Verify data after the test has been "shot" CONNECT %HOSTIP:%HTTPPORT HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Proxy-Connection: Keep-Alive GET /we/want/that/page/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* # 52 - got nothing 52