PROXYHEADER: send these headers in "normal" proxy requests too
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Feb 2014 16:10:00 +0000 (17:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Apr 2014 15:03:43 +0000 (17:03 +0200)
commit74851340bd7b4edbdc749e74562fc1ebcef9930f
tree5648f921a7e79ffea2f7deb32188d3ad2ca8d3a5
parentd3d27551e716e4899ef8fea7ac416f1d6c654f96
PROXYHEADER: send these headers in "normal" proxy requests too

Updated the docs to clarify and the code accordingly, with test 1528 to
verify:

When CURLHEADER_SEPARATE is set and libcurl is asked to send a request
to a proxy but it isn't CONNECT, then _both_ header lists
(CURLOPT_HTTPHEADER and CURLOPT_PROXYHEADER) will be used since the
single request is then made for both the proxy and the server.
docs/libcurl/curl_easy_setopt.3
lib/http.c
tests/data/Makefile.am
tests/data/test1528 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1528.c [new file with mode: 0644]