Commit graph

17 commits

Author SHA1 Message Date
Paul Davis
02b77ca88a better fix for CURL debugging unused variable warning 2022-06-21 17:36:26 -06:00
Paul Davis
5bc7c26d9b fix unused variable errors 2022-06-21 17:32:09 -06:00
Robin Gareus
3caa58ba78
ArdourHttp, export API to set CA paths
Ideally all https requests would pass via ArdourCurl, instead
of custom libcurl usage, but that will require some major refactoring
2022-05-20 22:03:13 +02:00
Robin Gareus
b553b67407
Fix curl free() ambiguity - fixes windows issues
curl_free() is to be used for data allocated by
curl_easy_escape() or curl_easy_unescape() in libcurl.

This is unrelated to realloc/free in WriteMemoryCallback().
2021-02-28 15:17:30 +01:00
Robin Gareus
c69dde96eb
Ardour HTTPS verify that peer isn't lying about the cert
https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html
https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html
2020-10-30 15:58:04 +01:00
Robin Gareus
6987196ea1
More i18n include order fixes 2019-09-26 06:11:30 +02:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Paul Davis
f448041ec0 no error logging for CURL HTTP requests; future callers can request it if necessary 2018-06-02 13:24:31 -04:00
Paul Davis
1e5813cf18 no actual error messages when curl requests fail 2018-05-23 23:08:13 -04:00
Robin Gareus
4f82d1ba99 No need for memset to clear a byte. 2017-11-23 10:10:32 +01:00
Robin Gareus
511216a587 Disable ArdourHTTP debug 2017-09-01 00:36:19 +02:00
Robin Gareus
841bbca773 print debugging for macOS/curl issues 2017-08-31 20:45:51 +02:00
Robin Gareus
e544934780 Call curl_global_init() exactly only once (1/2) 2017-08-31 20:08:47 +02:00
Robin Gareus
720292696a Fix ArdourHTTP error reporting 2017-08-31 19:21:43 +02:00
Robin Gareus
0996656ecc Allow to query HTTP headers 2016-09-16 01:39:04 +02:00
Robin Gareus
c9959f742a clean up HttpGet 2016-07-18 19:21:05 +02:00
Robin Gareus
004b57e9f6 ArdourCurl: prepare to unify various curl calls
mainly motivated by a central location to setup SSL.
2016-07-18 16:46:59 +02:00