curl*: use CURLOPT_USERNAME if libcurl is recent enough
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 6 Aug 2014 13:24:33 +0000 (15:24 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 6 Aug 2014 13:24:33 +0000 (15:24 +0200)
commit0af75dc13d6e722284a9dafe83cb50da2b025b21
treeb2554d55feff01b5ab69b06fd2ea1d670ac857aa
parentc6037f42499724bd02d2a91b30b2f769a8fb5b87
curl*: use CURLOPT_USERNAME if libcurl is recent enough

CURLOPT_USERNAME and CURLOPT_PASSWORD were introduced in curl 7.19.1.
They supersed CURLOPT_USERPWD which couldn't handle colons in the
username or password.
configure.ac
src/curl.c
src/curl_json.c
src/curl_xml.c