From e89489d8f4ceb869ae4e080b34053d4ecba22955 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Jun 2016 23:06:32 +0200 Subject: test1244: test different proxy ports same URL --- tests/data/test1244 | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 tests/data/test1244 (limited to 'tests/data/test1244') diff --git a/tests/data/test1244 b/tests/data/test1244 new file mode 100644 index 000000000..7912b4efe --- /dev/null +++ b/tests/data/test1244 @@ -0,0 +1,60 @@ + + + +HTTP +HTTP GET +HTTP proxy + + +# +# Server-side + + +HTTP/1.1 200 OK +Server: test-server/fake +Content-Length: 5 + +bing + + +HTTP/1.1 200 OK +Server: test-server/fake +Content-Length: 6 + +wrong + + + +# +# Client-side + + +http +https + + +HTTP GET same URL - different proxy ports + + +http://%HOSTIP:%HTTPPORT/1244 -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/124400001 -x %HOSTIP:%HTTPSPORT + + + +# +# Verify data after the test has been "shot" + +# the second request meant to fail + +56 + + +^User-Agent:.* + + +GET http://%HOSTIP:%HTTPPORT/1244 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3