r4158 - branches/sky/log_error/varnish-cache/bin/varnishd

sky at projects.linpro.no sky at projects.linpro.no
Wed Jul 29 11:03:42 CEST 2009


Author: sky
Date: 2009-07-29 11:03:42 +0200 (Wed, 29 Jul 2009)
New Revision: 4158

Modified:
   branches/sky/log_error/varnish-cache/bin/varnishd/cache_center.c
Log:
I think I found all the reasons we go into vcl_error

Modified: branches/sky/log_error/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- branches/sky/log_error/varnish-cache/bin/varnishd/cache_center.c	2009-07-29 08:56:44 UTC (rev 4157)
+++ branches/sky/log_error/varnish-cache/bin/varnishd/cache_center.c	2009-07-29 09:03:42 UTC (rev 4158)
@@ -981,6 +981,7 @@
 	if (sp->restarts >= params->max_restarts) {
 		if (sp->err_code == 0)
 			sp->err_code = 503;
+		WSL(sp->wrk, SLT_Debug, sp->id, "Max restarts (%s:%d)", __FILE__, __LINE__);
 		sp->step = STP_ERROR;
 		return (0);
 	}
@@ -1079,6 +1080,7 @@
 		if (strcmp(p, "100-continue")) {
 			sp->err_code = 417;
 			sp->step = STP_ERROR;
+			WSL(sp->wrk, SLT_Debug, sp->id, "Expect 100-continue not supported (%s:%d)", __FILE__, __LINE__);
 			return (0);
 		}
 



More information about the varnish-commit mailing list