From 6ba2e88a642434bd0ffa95465e4a7d034d03ea10 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Apr 2015 15:58:21 +0200 Subject: CURLOPT_HEADEROPT: default to separate Make the HTTP headers separated by default for improved security and reduced risk for information leakage. Bug: http://curl.haxx.se/docs/adv_20150429.html Reported-by: Yehezkel Horowitz, Oren Souroujon --- tests/libtest/lib1527.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libtest') diff --git a/tests/libtest/lib1527.c b/tests/libtest/lib1527.c index 280c947e3..1122d8ec0 100644 --- a/tests/libtest/lib1527.c +++ b/tests/libtest/lib1527.c @@ -83,6 +83,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READFUNCTION, read_callback); test_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, 1L); test_setopt(curl, CURLOPT_INFILESIZE, strlen(data)); + test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_UNIFIED); res = curl_easy_perform(curl); -- cgit v1.2.3