diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-23 15:58:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-28 21:02:37 +0200 |
commit | 6ba2e88a642434bd0ffa95465e4a7d034d03ea10 (patch) | |
tree | 82958caeabc8de706f5d3ffd0811e5c13e9e1c07 /tests/libtest | |
parent | 1f8a337e41b436bd763ebe57702ce03996359952 (diff) |
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
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib1527.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |