[master] 3f5de2a97 fix doc leftovers from removed cookie.filter_except() function
Dridi Boukelmoune
dridi at varni.sh
Mon Mar 9 19:16:54 UTC 2020
On Mon, Mar 9, 2020 at 5:10 PM Nils Goroll <nils.goroll at uplex.de> wrote:
>
>
> commit 3f5de2a972048d7b618c36930885e43aafd0811b
> Author: Nils Goroll <nils.goroll at uplex.de>
> Date: Mon Mar 9 18:09:24 2020 +0100
>
> fix doc leftovers from removed cookie.filter_except() function
>
> diff --git a/lib/libvmod_cookie/vmod.vcc b/lib/libvmod_cookie/vmod.vcc
> index f4263aebd..5c4bf494a 100644
> --- a/lib/libvmod_cookie/vmod.vcc
> +++ b/lib/libvmod_cookie/vmod.vcc
> @@ -6,7 +6,7 @@ DESCRIPTION
> Handle HTTP cookies more easily in Varnish VCL.
>
> Parses a cookie header into an internal data store, where per-cookie
> -get/set/delete functions are available. A filter_except() method removes all
> +get/set/delete functions are available. A keep() method removes all
> but a set comma-separated list of cookies. A filter() method removes a comma-
> separated list of cookies.
Nils, I didn't notice until now: could you please replace occurrences
of "method" where it refers to functions while you are in the
neighborhood?
> @@ -178,7 +178,7 @@ Example::
>
> sub vcl_recv {
> cookie.parse(req.http.cookie);
> - cookie.filter_except("SESSIONID,PHPSESSID");
> + cookie.keep("SESSIONID,PHPSESSID");
> set req.http.cookie = cookie.get_string();
> }
>
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
More information about the varnish-commit
mailing list