[master] 3f5de2a97 fix doc leftovers from removed cookie.filter_except() function

Nils Goroll nils.goroll at uplex.de
Mon Mar 9 17:10:08 UTC 2020

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.
@@ -178,7 +178,7 @@ Example::
 	sub vcl_recv {
-	    cookie.filter_except("SESSIONID,PHPSESSID");
+	    cookie.keep("SESSIONID,PHPSESSID");
 	    set req.http.cookie = cookie.get_string();

More information about the varnish-commit mailing list