From 0dd1219668de43b675a0f3f1c7521b5f823c6895 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 24 Mar 2007 02:15:20 +0000 Subject: Fixed a memory leak when specifying a proxy with a file: URL and added test case 288 to verify it. --- tests/data/Makefile.am | 2 +- tests/data/test288 | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 tests/data/test288 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 440588511..f5d3039f9 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -37,4 +37,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \ test534 test535 test281 test537 test282 test283 test284 test538 test285 \ - test286 test307 test308 test287 test400 + test286 test307 test308 test287 test400 test288 diff --git a/tests/data/test288 b/tests/data/test288 new file mode 100644 index 000000000..da691451a --- /dev/null +++ b/tests/data/test288 @@ -0,0 +1,42 @@ + +# Server-side + + +foo + bar +bar + foo +moo + + + +# Client-side + + +none + + +file + + +file:// with (unsupported) proxy, authentication and range + + +all_proxy=http://fake:user@%HOSTIP:%HTTPPORT/ + + +file://localhost/%PWD/log/test288.txt + + +foo + bar +bar + foo +moo + + + +# Verify data after the test has been "shot" + + + -- cgit v1.2.3