mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 02:34:16 +00:00
FS-5219 --resolve
This commit is contained in:
1 parent
a5cd84304e
commit
10af50d96c
1 file changed
+3
-4
@@ -2418,11 +2418,10 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char
|
||||
curl_handle = switch_curl_easy_init();
|
||||
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1);
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1);
|
||||
|
||||
if (!strncasecmp(url, "https", 5)) {
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
}
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
switch_curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
|
||||
client.max_bytes = HTTAPI_MAX_FILE_BYTES;
|
||||
|
||||
|
||||
Reference in new issue
Block a user