From ef6be35bae1fe501fecd9a2a21eb5d03ddff4243 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 4 Feb 2014 23:37:29 +0100 Subject: CURLOPT_HEADEROPT: added Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER is actually used or not. --- tests/libtest/lib1526.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libtest/lib1526.c') diff --git a/tests/libtest/lib1526.c b/tests/libtest/lib1526.c index e71512854..fb757f592 100644 --- a/tests/libtest/lib1526.c +++ b/tests/libtest/lib1526.c @@ -72,6 +72,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_PROXY, libtest_arg2); test_setopt(curl, CURLOPT_HTTPHEADER, hhl); test_setopt(curl, CURLOPT_PROXYHEADER, phl); + test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); test_setopt(curl, CURLOPT_POST, 0L); test_setopt(curl, CURLOPT_UPLOAD, 1L); test_setopt(curl, CURLOPT_VERBOSE, 1L); -- cgit v1.2.3