r4373 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Fri Nov 27 11:40:13 CET 2009


Author: phk
Date: 2009-11-27 11:40:13 +0100 (Fri, 27 Nov 2009)
New Revision: 4373

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_http.c
Log:
Make two errormessages slightly different



Modified: trunk/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_http.c	2009-11-25 13:18:46 UTC (rev 4372)
+++ trunk/varnish-cache/bin/varnishtest/vtc_http.c	2009-11-27 10:40:13 UTC (rev 4373)
@@ -337,7 +337,7 @@
 		pfd[0].revents = 0;
 		i = poll(pfd, 1, hp->timeout);
 		if (i <= 0)
-			vtc_log(hp->vl, 0, "HTTP rx failed (%s)",
+			vtc_log(hp->vl, 0, "HTTP rx failed (poll: %s)",
 			    strerror(errno));
 		assert(i > 0);
 		assert(hp->prxbuf + n < hp->nrxbuf);
@@ -345,7 +345,7 @@
 		if (i == 0)
 			return (i);
 		if (i <= 0)
-			vtc_log(hp->vl, 0, "HTTP rx failed (%s)",
+			vtc_log(hp->vl, 0, "HTTP rx failed (read: %s)",
 			    strerror(errno));
 		hp->prxbuf += i;
 		hp->rxbuf[hp->prxbuf] = '\0';



More information about the varnish-commit mailing list