r2904 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Tue Jul 8 11:48:06 CEST 2008


Author: phk
Date: 2008-07-08 11:48:05 +0200 (Tue, 08 Jul 2008)
New Revision: 2904

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Note an idea



Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-07-08 09:17:42 UTC (rev 2903)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-07-08 09:48:05 UTC (rev 2904)
@@ -124,6 +124,12 @@
 
 /*--------------------------------------------------------------------
  * Helper functions to complain about duplicate and missing fields
+ *
+ * XXX: idea: add groups to check for exclusivity, such that
+ * XXX:    ("!foo", "?bar", "!{", "this", "that", "}", NULL)
+ * XXX: means exactly one of "this" or "that", and
+ * XXX:    ("!foo", "?bar", "?{", "this", "that", "}", NULL)
+ * XXX: means at most one of "this" or "that".
  */
 
 struct fld_spec {




More information about the varnish-commit mailing list