mirror of
https://github.com/curl/curl.git
synced 2025-09-14 08:02:44 +03:00
parent
37b5cf4fa0
commit
2478cbbff2
|
@ -811,15 +811,6 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
||||||
* prevent the forthcoming read-cookies-from-file actions to accept
|
* prevent the forthcoming read-cookies-from-file actions to accept
|
||||||
* cookies that are marked as being session cookies, as they belong to a
|
* cookies that are marked as being session cookies, as they belong to a
|
||||||
* previous session.
|
* previous session.
|
||||||
*
|
|
||||||
* In the original Netscape cookie spec, "session cookies" are cookies
|
|
||||||
* with no expire date set. RFC2109 describes the same action if no
|
|
||||||
* 'Max-Age' is set and RFC2965 includes the RFC2109 description and adds
|
|
||||||
* a 'Discard' action that can enforce the discard even for cookies that
|
|
||||||
* have a Max-Age.
|
|
||||||
*
|
|
||||||
* We run mostly with the original cookie spec, as hardly anyone implements
|
|
||||||
* anything else.
|
|
||||||
*/
|
*/
|
||||||
data->set.cookiesession = (0 != va_arg(param, long)) ? TRUE : FALSE;
|
data->set.cookiesession = (0 != va_arg(param, long)) ? TRUE : FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user