curl-library
Re: libcurl does not update cookie
Date: Mon, 25 May 2015 16:29:22 +0300
Hello,
On 5/24/2015 9:07 PM, Daniel Stenberg wrote:
> Doesn't specify domain or path so libcurl sets a default set derived
> from the URL, which probably aren't identical to what the cookie you
> receive from the site gets so they get stored as two separate cookies
> by libcurl, but using the same name. A rather peculiar behavior, but
> defined in the spec. But I can't immediately spot why they would end
> up different.
>
> I supect that either enabling VERBOSE or perhaps getting the cookies
> stored with CURLOPT_COOKIEJAR will make the differences between the
> two cookies notable.
It sets it for "unknown" domain. Please see my another email I sent a
bit earlier.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-25