test proxy supports CONNECT
authorDaniel Stenberg <daniel@haxx.se>
Sat, 17 Dec 2011 22:47:22 +0000 (23:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jan 2012 14:01:22 +0000 (15:01 +0100)
commit82180643f4886d47816cf654f2ee46114e9c296f
treeee7b55634dbeca7fd641397a6c10dd360cc602d4
parent585b89a6c3640af5a1ca963eeafc7d0d82408f00
test proxy supports CONNECT

There's a new 'http-proxy' server for tests that runs on a separate port
and lets clients do HTTP CONNECT to other ports on the same host to
allow us to test HTTP "tunneling" properly.

Test cases now have a <proxy> section in <verify> to check that the
proxy protocol part matches correctly.

Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316
was added.
14 files changed:
tests/FILEFORMAT
tests/data/Makefile.am
tests/data/test1078
tests/data/test1316 [new file with mode: 0644]
tests/data/test275
tests/data/test503
tests/data/test80
tests/data/test83
tests/data/test95
tests/httpserver.pl
tests/runtests.pl
tests/server/sws.c
tests/server/util.c
tests/server/util.h