From 85ecc4066833ee74f409c57b1d221bdbc7661e7c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 30 Oct 2020 15:58:15 +0100 Subject: [PATCH] Tweak Mixbus pingback, follow http -> https redirects --- gtk2_ardour/pingback.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/pingback.cc b/gtk2_ardour/pingback.cc index 8dc68e4a92..9df38c28da 100644 --- a/gtk2_ardour/pingback.cc +++ b/gtk2_ardour/pingback.cc @@ -59,6 +59,13 @@ _pingback (void *arg) pthread_set_name ("Pingback"); 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 (arg); string return_str; //initialize curl