r3890 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Mar 5 23:33:08 CET 2009


Author: phk
Date: 2009-03-05 23:33:08 +0100 (Thu, 05 Mar 2009)
New Revision: 3890

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Fix a certain panic in pipe mode, which varnishtest should have caught
but didn't until now.



Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2009-03-05 22:28:47 UTC (rev 3889)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2009-03-05 22:33:08 UTC (rev 3890)
@@ -911,6 +911,7 @@
 
 	PipeSession(sp);
 	AZ(sp->wrk->wfd);
+	sp->wrk->bereq = NULL;
 	sp->step = STP_DONE;
 	return (0);
 }



More information about the varnish-commit mailing list