From 6abdbe5ac46d0dd9318637394b6612ed78fdf385 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 14 Feb 2013 11:20:11 -0600 Subject: [PATCH] FS-5044 --resolve proposed solution appears to be the best route --- src/mod/applications/mod_httapi/mod_httapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index cc5fea89eb..8665e8c3d3 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -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) {