Useful with upcoming std.rfc1123(). See next mail.
Comments? OK?
From c7a307a881e48ca2ddb65e6f1cd336214ec72e8c Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" <[email protected]> Date: Wed, 10 Dec 2014 20:34:07 +0000 Subject: [PATCH 1/2] Permit to compare 2 times using standard operators Useful with upcoming std.rfc1123() --- lib/libvcc/vcc_expr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c index 49214cc..7f1a83e 100644 --- a/lib/libvcc/vcc_expr.c +++ b/lib/libvcc/vcc_expr.c @@ -1097,6 +1097,7 @@ static const struct cmps { NUM_REL(DURATION), NUM_REL(BYTES), NUM_REL(REAL), + NUM_REL(TIME), {STRING, T_EQ, "!VRT_strcmp(\v1, \v2)" }, {STRING, T_NEQ, "VRT_strcmp(\v1, \v2)" }, -- 2.1.3
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
