From abca03cf36ca1118ea3c13f7ebf18d31d6d86746 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 23 Aug 2007 17:35:00 +0000 Subject: Added test1004 to validate a previous fix for a memory leak when an empty proxy server is selected. --- tests/data/test1004 | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test1004 (limited to 'tests/data/test1004') diff --git a/tests/data/test1004 b/tests/data/test1004 new file mode 100644 index 000000000..bc8396833 --- /dev/null +++ b/tests/data/test1004 @@ -0,0 +1,56 @@ + + + +HTTP +HTTP GET +HTTP proxy + + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +HTTP GET with empty proxy + + +http://%HOSTIP:%HTTPPORT/1004 --proxy "" + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1004 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3