r2356 - in trunk/varnish-cache: bin/varnishd include lib/libvcl

Anders Nordby anders at fupp.net
Fri Feb 1 09:24:29 CET 2008


Hi,

On Mon, Jan 21, 2008 at 02:09:21PM +0100, phk at projects.linpro.no wrote:
> Off the bat, this affects only the simple backend case, and the
> main thrust is a syntax change from a dynamic procedural assignment
> style:
> 
> 	backend b1 {
> 		set backend.host = "fs.freebsd.dk";
> 		set backend..port = "80";
> 	}
> 
> to a constant structural definition style:
> 
> 	backend b1 {
> 		.host = "fs.freebsd.dk";
> 		.port = "80";
> 	}

Could you please also commit the attached patch to update the man page.

Bye,

-- 
Anders.
-------------- next part --------------
--- vcl.7.orig	2008-02-01 09:16:58.000000000 +0100
+++ vcl.7	2008-02-01 09:17:40.000000000 +0100
@@ -80,8 +80,8 @@
 A backend declaration creates and initializes a named backend object:
 .Bd -literal -offset 4n
 backend www {
-    set backend.host = "www.example.com";
-    set backend.port = "http";
+    .host = "www.example.com";
+    .port = "http";
 }
 .Ed
 .Pp


More information about the varnish-commit mailing list