From: des Date: Fri, 10 Aug 2007 09:36:42 +0000 (+0000) Subject: Document purge_url / purge_hash X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c078e42b89af389d1ace26fe075a2cfec3df79f5;p=varnish Document purge_url / purge_hash git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1827 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_vcc.c b/varnish-cache/bin/varnishd/mgt_vcc.c index a210de2e..b25c2b8d 100644 --- a/varnish-cache/bin/varnishd/mgt_vcc.c +++ b/varnish-cache/bin/varnishd/mgt_vcc.c @@ -182,7 +182,7 @@ mgt_CallCc(const char *source, struct vsb *sb) len = snprintf(buf, sizeof buf, "ln -f %s _.c ;" /* XXX: for debugging */ #ifdef __APPLE__ - "exec cc -dynamiclib -Wl,-flat_namespace,-undefined,suppress -o %s -x c - < %s 2>&1", + "exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %s -x c - < %s 2>&1", #else "exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1", #endif diff --git a/varnish-cache/man/vcl.7 b/varnish-cache/man/vcl.7 index 0b386729..996c0d34 100644 --- a/varnish-cache/man/vcl.7 +++ b/varnish-cache/man/vcl.7 @@ -28,7 +28,7 @@ .\" .\" $Id$ .\" -.Dd August 3, 2007 +.Dd August 10, 2007 .Dt VCL 7 .Os .Sh NAME @@ -136,8 +136,11 @@ is replaced with the entire matched string, and is replaced with the contents of subgroup .Ar n in the matched string. -.It Fn purge "regex" -Purge all objects in cache matching +.It Fn purge_hash "regex" +Purge all objects in cache whose hash strings match +.Fa regex . +.It Fn purge_url "regex" +Purge all objects in cache whose URLs match .Fa regex . .El .Ss Subroutines