]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
setopt: remove outdated cookie comment
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Oct 2023 14:11:01 +0000 (16:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 27 Oct 2023 14:59:40 +0000 (16:59 +0200)
Closes #12206

lib/setopt.c

index 4e3e05174b977cfb57cab03062ae0bdcf1cb9b2f..15a00f9e5b5d2a6a6bd2e12c4bb9d00bce886fc5 100644 (file)
@@ -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;