test1509: verify proxy header response headers count
authorDaniel Stenberg <daniel@haxx.se>
Fri, 15 Mar 2013 16:28:32 +0000 (17:28 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 Mar 2013 14:30:46 +0000 (15:30 +0100)
commit1e29d275c643ef6aab7948f0f55a7a9397e56b42
tree84c06b93ee8092deb48da90e1f21e29dc4a1c11d
parent142755fa5cdd2fea72c68663bfefeb9c6ccf5315
test1509: verify proxy header response headers count

Modified sws to support and use custom CONNECT responses instead of the
previously naive hard-coded version. Made the HTTP test server able to
extract test case number from the host name in a CONNECT request by
finding the number after the last dot. It makes 'machine.moo.123' use
test case 123.

Adapted a larger amount of tests to the new <connect> style.

Bug: http://curl.haxx.se/bug/view.cgi?id=1204
Reported by: Martin Jansen
30 files changed:
tests/FILEFORMAT
tests/data/Makefile.am
tests/data/test1008
tests/data/test1021
tests/data/test1059
tests/data/test1060
tests/data/test1061
tests/data/test1078
tests/data/test1097
tests/data/test1316
tests/data/test1319
tests/data/test1320
tests/data/test1321
tests/data/test1509 [new file with mode: 0644]
tests/data/test206
tests/data/test209
tests/data/test213
tests/data/test217
tests/data/test265
tests/data/test275
tests/data/test287
tests/data/test302
tests/data/test503
tests/data/test80
tests/data/test83
tests/data/test94
tests/data/test95
tests/libtest/Makefile.inc
tests/libtest/lib1509.c [new file with mode: 0644]
tests/server/sws.c