FS-5044 --resolve proposed solution appears to be the best route

This commit is contained in:
Anthony Minessale 2013-02-14 11:20:11 -06:00
parent cd7d1efc2a
commit 6abdbe5ac4
1 changed files with 2 additions and 0 deletions

View File

@ -1607,6 +1607,8 @@ static switch_status_t httapi_sync(client_t *client)
if (client->profile->cookie_file) {
switch_curl_easy_setopt(curl_handle, CURLOPT_COOKIEJAR, client->profile->cookie_file);
switch_curl_easy_setopt(curl_handle, CURLOPT_COOKIEFILE, client->profile->cookie_file);
} else {
switch_curl_easy_setopt(curl_handle, CURLOPT_COOKIE, "");
}
if (client->profile->bind_local) {