Commit 11f95013 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

purge() -> purge_url() to match trunk.


git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1828 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 68c4101d
...@@ -270,7 +270,7 @@ parse_remove(struct tokenlist *tl) ...@@ -270,7 +270,7 @@ parse_remove(struct tokenlist *tl)
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
static void static void
parse_purge(struct tokenlist *tl) parse_purge_url(struct tokenlist *tl)
{ {
vcc_NextToken(tl); vcc_NextToken(tl);
...@@ -307,7 +307,8 @@ static struct action_table { ...@@ -307,7 +307,8 @@ static struct action_table {
{ "call", parse_call }, { "call", parse_call },
{ "set", parse_set }, { "set", parse_set },
{ "remove", parse_remove }, { "remove", parse_remove },
{ "purge", parse_purge }, { "purge_url", parse_purge_url },
{ NULL, NULL } { NULL, NULL }
}; };
......
...@@ -136,8 +136,8 @@ is replaced with the entire matched string, and ...@@ -136,8 +136,8 @@ is replaced with the entire matched string, and
is replaced with the contents of subgroup is replaced with the contents of subgroup
.Ar n .Ar n
in the matched string. in the matched string.
.It Fn purge "regex" .It Fn purge_url "regex"
Purge all objects in cache matching Purge all objects in cache whose URLs match
.Fa regex . .Fa regex .
.El .El
.Ss Subroutines .Ss Subroutines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment