Commit 8efc0b19 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Synchronize these two files.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1793 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e20bde38
......@@ -75,14 +75,27 @@ backend default {
# if (!obj.cacheable) {
# pass;
# }
# if (resp.http.Set-Cookie) {
# if (obj.http.Set-Cookie) {
# pass;
# }
# insert;
#}
#
#
## Called before a cached object is delivered to the client
#
#sub vcl_deliver {
# deliver;
#}
#
## Called when an object nears its expiry time
#
#sub vcl_timeout {
# discard;
#}
#
## Called when an object is about to be discarded
#
#sub vcl_discard {
# discard;
#}
......@@ -28,7 +28,7 @@
.\"
.\" $Id$
.\"
.Dd July 13, 2007
.Dd August 3, 2007
.Dt VCL 7
.Os
.Sh NAME
......@@ -474,7 +474,7 @@ sub vcl_fetch {
The following code is the equivalent of the default configuration with
the backend address set to "backend.example.com" and no backend port
specified.
.\" Keep this in synch with bin/varnishd/mgt_vcc.c
.\" Keep this in synch with bin/varnishd/mgt_vcc.c and etc/default.vcl
.Bd -literal -offset 4n
backend default {
set backend.host = "backend.example.com";
......@@ -534,11 +534,11 @@ sub vcl_deliver {
deliver;
}
sub vcl_discard {
sub vcl_timeout {
discard;
}
sub vcl_timeout {
sub vcl_discard {
discard;
}
.Ed
......
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