From b7eeb6e67fca686f840eacd6b8394edb58b07482 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Sep 2006 21:49:20 +0000 Subject: Major overhaul introducing http pipelining support and shared connection cache within the multi handle. --- tests/data/Makefile.am | 2 +- tests/data/test526 | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/data/test527 | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/data/test528 | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 tests/data/test526 create mode 100644 tests/data/test527 create mode 100644 tests/data/test528 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 48038a66b..250084de7 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -34,5 +34,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test250 test251 test252 test253 test254 test255 test521 test522 test523 \ test256 test257 test258 test259 test260 test261 test262 test263 test264 \ test265 test266 test267 test268 test269 test270 test271 test272 test273 \ - test274 test275 test524 test525 test276 test277 + test274 test275 test524 test525 test276 test277 test526 test527 test528 diff --git a/tests/data/test526 b/tests/data/test526 new file mode 100644 index 000000000..29d995983 --- /dev/null +++ b/tests/data/test526 @@ -0,0 +1,61 @@ + + +FTP +PASV +RETR + + +# Server-side + + +file contents should appear once for each file + + +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file + + + +# Client-side + + +ftp + + +lib526 + + +FTP RETR same file using different handles but same connection + + +ftp://%HOSTIP:%FTPPORT/path/526 + + + +# Verify data after the test has been "shot" + + + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD path +EPSV +TYPE I +SIZE 526 +RETR 526 +EPSV +SIZE 526 +RETR 526 +EPSV +SIZE 526 +RETR 526 +EPSV +SIZE 526 +RETR 526 +QUIT + + diff --git a/tests/data/test527 b/tests/data/test527 new file mode 100644 index 000000000..f00a5c69f --- /dev/null +++ b/tests/data/test527 @@ -0,0 +1,61 @@ + + +FTP +PASV +RETR + + +# Server-side + + +file contents should appear once for each file + + +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file + + + +# Client-side + + +ftp + + +lib527 + + +FTP RETR same file using different handles but same connection + + +ftp://%HOSTIP:%FTPPORT/path/527 + + + +# Verify data after the test has been "shot" + + + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD path +EPSV +TYPE I +SIZE 527 +RETR 527 +EPSV +SIZE 527 +RETR 527 +EPSV +SIZE 527 +RETR 527 +EPSV +SIZE 527 +RETR 527 +QUIT + + diff --git a/tests/data/test528 b/tests/data/test528 new file mode 100644 index 000000000..2bfdc20ce --- /dev/null +++ b/tests/data/test528 @@ -0,0 +1,62 @@ + + +HTTP + + +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 47 + +file contents should appear once for each file + + +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file + + + +# Client-side + + +http + + +lib526 + + +HTTP GET same file using different handles but same connection + + +http://%HOSTIP:%HTTPPORT/path/528 + + + +# Verify data after the test has been "shot" + + + + +GET /path/528 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + +GET /path/528 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + +GET /path/528 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + +GET /path/528 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + -- cgit v1.2.3