]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5044 --resolve proposed solution appears to be the best route
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 14 Feb 2013 17:20:11 +0000 (11:20 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 14 Feb 2013 17:20:11 +0000 (11:20 -0600)
src/mod/applications/mod_httapi/mod_httapi.c

index cc5fea89eb5768f2de62ed5a5672c7dd224881de..8665e8c3d3642ec5a3bc00ace5fc34030a6ce03b 100644 (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) {