]> err.no Git - varnish/commitdiff
Reindent
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Jul 2008 11:21:35 +0000 (11:21 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Jul 2008 11:21:35 +0000 (11:21 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3009 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/etc/default.vcl

index 71987d64730a2f9a912928280034465596bb82cc..a61135f8f5e730228b23b1486efaf8fc292a3a1e 100644 (file)
@@ -20,25 +20,25 @@ backend default {
 ## Called when a client request is received
 #
 #sub vcl_recv {
-#    if (req.request != "GET" &&
-#      req.request != "HEAD" &&
-#      req.request != "PUT" &&
-#      req.request != "POST" &&
-#      req.request != "TRACE" &&
-#      req.request != "OPTIONS" &&
-#      req.request != "DELETE") {
-#        pipe;
-#    }
-#    if (req.http.Expect) {
-#        pipe;
-#    }
-#    if (req.request != "GET" && req.request != "HEAD") {
-#        pass;
-#    }
-#    if (req.http.Authorization || req.http.Cookie) {
-#        pass;
-#    }
-#    lookup;
+#      if (req.request != "GET" &&
+#          req.request != "HEAD" &&
+#          req.request != "PUT" &&
+#          req.request != "POST" &&
+#          req.request != "TRACE" &&
+#          req.request != "OPTIONS" &&
+#          req.request != "DELETE") {
+#              pipe;
+#      }
+#      if (req.http.Expect) {
+#              pipe;
+#      }
+#      if (req.request != "GET" && req.request != "HEAD") {
+#              pass;
+#      }
+#      if (req.http.Authorization || req.http.Cookie) {
+#              pass;
+#      }
+#      lookup;
 #}
 #
 ## Called when entering pipe mode
@@ -56,13 +56,13 @@ backend default {
 ## Called when entering an object into the cache
 #
 #sub vcl_hash {
-#    set req.hash += req.url;
-#    if (req.http.host) {
-#        set req.hash += req.http.host;
-#    } else {
-#        set req.hash += server.ip;
-#    }
-#    hash;
+#      set req.hash += req.url;
+#      if (req.http.host) {
+#              set req.hash += req.http.host;
+#      } else {
+#              set req.hash += server.ip;
+#      }
+#      hash;
 #}
 #
 ## Called when the requested object was found in the cache
@@ -84,22 +84,22 @@ backend default {
 ## backend, or the request to the backend has failed
 #
 #sub vcl_fetch {
-#    if (!obj.valid) {
-#        error obj.status;
-#    }
-#    if (!obj.cacheable) {
-#        pass;
-#    }
-#    if (obj.http.Set-Cookie) {
-#        pass;
-#    }
-#       set obj.prefetch =  -30s;    insert;
+#      if (!obj.valid) {
+#              error obj.status;
+#      }
+#      if (!obj.cacheable) {
+#              pass;
+#      }
+#      if (obj.http.Set-Cookie) {
+#              pass;
+#      }
+#       set obj.prefetch =  -30s;      insert;
 #}
 #
 ## Called before a cached object is delivered to the client
 #
 #sub vcl_deliver {
-#    deliver;
+#      deliver;
 #}
 #
 ## Called when an object nears its expiry time
@@ -111,5 +111,5 @@ backend default {
 # Called when an object is about to be discarded
 #
 #sub vcl_discard {
-#    discard;
+#      discard;
 #}