r2959 - trunk/varnish-cache/lib/libvarnish

phk at projects.linpro.no phk at projects.linpro.no
Sat Jul 19 12:40:13 CEST 2008


Author: phk
Date: 2008-07-19 12:40:13 +0200 (Sat, 19 Jul 2008)
New Revision: 2959

Modified:
   trunk/varnish-cache/lib/libvarnish/cli_common.c
Log:
Add a protocol version number ("1.0") to the ping response.



Modified: trunk/varnish-cache/lib/libvarnish/cli_common.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli_common.c	2008-07-19 09:51:41 UTC (rev 2958)
+++ trunk/varnish-cache/lib/libvarnish/cli_common.c	2008-07-19 10:40:13 UTC (rev 2959)
@@ -191,5 +191,5 @@
 	(void)priv;
 	(void)av;
 	t = time(NULL);
-	cli_out(cli, "PONG %ld", t);
+	cli_out(cli, "PONG %ld 1.0", t);
 }




More information about the varnish-commit mailing list