mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Tweak Mixbus pingback, follow http -> https redirects
This commit is contained in:
parent
c69dde96eb
commit
85ecc40668
1 changed files with 7 additions and 0 deletions
|
|
@ -59,6 +59,13 @@ _pingback (void *arg)
|
||||||
pthread_set_name ("Pingback");
|
pthread_set_name ("Pingback");
|
||||||
ArdourCurl::HttpGet h;
|
ArdourCurl::HttpGet h;
|
||||||
|
|
||||||
|
#ifdef MIXBUS
|
||||||
|
curl_easy_setopt (h.curl (), CURLOPT_FOLLOWLOCATION, 1);
|
||||||
|
/* do not check cert */
|
||||||
|
curl_easy_setopt (h.curl (), CURLOPT_SSL_VERIFYPEER, 0);
|
||||||
|
curl_easy_setopt (h.curl (), CURLOPT_SSL_VERIFYHOST, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
ping_call* cm = static_cast<ping_call*> (arg);
|
ping_call* cm = static_cast<ping_call*> (arg);
|
||||||
string return_str;
|
string return_str;
|
||||||
//initialize curl
|
//initialize curl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue