From 80ed7f6d3d1e500b63ac2f00d2de116e47ca7b77 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 2 Jul 2007 13:16:04 +0000 Subject: [PATCH] Update to reflect the latest changes to cache_center.c. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1613 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/man/vcl.7 | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/varnish-cache/man/vcl.7 b/varnish-cache/man/vcl.7 index bfffcaa8..c2a003be 100644 --- a/varnish-cache/man/vcl.7 +++ b/varnish-cache/man/vcl.7 @@ -28,7 +28,7 @@ .\" .\" $Id$ .\" -.Dd June 25, 2007 +.Dd July 2, 2007 .Dt VCL 7 .Os .Sh NAME @@ -240,6 +240,8 @@ Control will eventually pass to .Cm vcl_pass . .It Cm deliver Deliver the cached object to the client. +Control will eventually pass to +.Cm vcl_deliver . .El .\" vcl_miss .It Cm vcl_miss @@ -282,6 +284,22 @@ Control will eventually pass to .Cm vcl_pass . .It Cm insert Insert the object into the cache, then deliver it to the client. +Control will eventually pass to +.Cm vcl_deliver . +.El +.\" vcl_deliver +.It Cm vcl_deliver +Called before a cached object is delivered to the client. +.Pp +The +.Cm vcl_deliver +subroutine may terminate with one of the following keywords: +.Bl -tag -width "discard" +.It Cm error Ar code Op Ar reason +Return the specified error code to the client and abandon the +request. +.It Cm deliver +Deliver the object to the client. .El .\" vcl_timeout .It Cm vcl_timeout @@ -423,6 +441,10 @@ sub vcl_fetch { insert; } +sub vcl_deliver { + deliver; +} + sub vcl_discard { discard; } -- 2.39.5