[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: r3536 - branches/2.0/varnish-cache/bin/varnishd
From: tfheen () projects ! linpro ! no (tfheen at projects ! linpro ! no)
Date: 2009-01-19 14:28:09
Message-ID: 20090119142809.EA4F697B55 () projects ! linpro ! no
[Download RAW message or body]
Author: tfheen
Date: 2009-01-19 15:28:07 +0100 (Mon, 19 Jan 2009)
New Revision: 3536
Modified:
branches/2.0/varnish-cache/bin/varnishd/cache_center.c
Log:
Merge r3386:
Implement restart in vcl_hit.
Fixes #365
Modified: branches/2.0/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_center.c 2009-01-19 14:24:03 UTC (rev 3535)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_center.c 2009-01-19 14:28:07 UTC (rev 3536)
@@ -548,7 +548,9 @@
sp->step = STP_ERROR;
return (0);
case VCL_RET_RESTART:
- INCOMPL();
+ sp->director = NULL;
+ sp->restarts++;
+ sp->step = STP_RECV;
return (0);
default:
WRONG("Illegal action in vcl_hit{}");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic