Browse Source

Enabled cookies in the juce curl backend to align the behaviour with other platforms

tags/2021-05-28
hogliux 9 years ago
parent
commit
f415b09c7b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_core/native/juce_curl_Network.cpp

+ 2
- 1
modules/juce_core/native/juce_curl_Network.cpp View File

@@ -143,7 +143,8 @@ private:
&& curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, StaticCurlWrite) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_MAXREDIRS, static_cast<long> (maxRedirects)) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_USERAGENT, userAgent.toRawUTF8()) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, (maxRedirects > 0 ? 1 : 0)) == CURLE_OK)
&& curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, (maxRedirects > 0 ? 1 : 0)) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_COOKIEFILE, "") == CURLE_OK)
{
if (isPost)
{


Loading…
Cancel
Save