mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-31 18:44:54 +00:00
FS-5044 --resolve proposed solution appears to be the best route
This commit is contained in:
parent
cd7d1efc2a
commit
6abdbe5ac4
@ -1607,6 +1607,8 @@ static switch_status_t httapi_sync(client_t *client)
|
|||||||
if (client->profile->cookie_file) {
|
if (client->profile->cookie_file) {
|
||||||
switch_curl_easy_setopt(curl_handle, CURLOPT_COOKIEJAR, 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);
|
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) {
|
if (client->profile->bind_local) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user