From: Daniel Stenberg Date: Thu, 26 Oct 2023 14:11:01 +0000 (+0200) Subject: setopt: remove outdated cookie comment X-Git-Tag: curl-8_5_0~188 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2478cbbff272fe53abfe024ad918cde558663871;p=thirdparty%2Fcurl.git setopt: remove outdated cookie comment Closes #12206 --- diff --git a/lib/setopt.c b/lib/setopt.c index 4e3e05174b..15a00f9e5b 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -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 * cookies that are marked as being session cookies, as they belong to a * 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; break;