Sun, 17 Jun 2018 06:50:38 +0200
sets curl default protocol to http
libidav/session.c | file | annotate | diff | comparison | revisions |
--- a/libidav/session.c Fri Jun 15 15:51:21 2018 +0200 +++ b/libidav/session.c Sun Jun 17 06:50:38 2018 +0200 @@ -96,6 +96,9 @@ } // set url +#if LIBCURL_VERSION_NUM >= 0x072D00 + curl_easy_setopt(sn->handle, CURLOPT_DEFAULT_PROTOCOL, "http"); +#endif curl_easy_setopt(sn->handle, CURLOPT_URL, base_url); // add to context