From: des Date: Mon, 2 Jul 2007 13:16:04 +0000 (+0000) Subject: Update to reflect the latest changes to cache_center.c. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ed7f6d3d1e500b63ac2f00d2de116e47ca7b77;p=varnish 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 --- 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; }