From: Anthony Minessale Date: Thu, 14 Feb 2013 17:20:11 +0000 (-0600) Subject: FS-5044 --resolve proposed solution appears to be the best route X-Git-Tag: v1.3.13~50^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6abdbe5ac46d0dd9318637394b6612ed78fdf385;p=thirdparty%2Ffreeswitch.git FS-5044 --resolve proposed solution appears to be the best route --- 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) {