Commit 9369e400 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Implement restart in vcl_hit.

Fixes #365



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3386 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 2a1c6ba3
......@@ -543,7 +543,9 @@ cnt_hit(struct sess *sp)
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{}");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment