Commit 1cc33a3e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove an old workaround for VCL calls from LRU processing.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5647 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 03a410a6
......@@ -436,7 +436,7 @@ cnt_fetch(struct sess *sp)
int i;
struct http *hp, *hp2;
char *b;
unsigned handling, l, nhttp;
unsigned l, nhttp;
int varyl = 0;
struct vsb *vary = NULL;
......@@ -526,13 +526,6 @@ cnt_fetch(struct sess *sp)
VCL_fetch_method(sp);
/*
* When we fetch the body, we may hit the LRU cleanup and that
* will overwrite sp->handling, so we have to save our plans
* here.
*/
handling = sp->handling;
if (sp->objcore == NULL) {
/* This is a pass from vcl_recv */
sp->wrk->cacheable = 0;
......@@ -629,7 +622,7 @@ cnt_fetch(struct sess *sp)
if (sp->wrk->do_esi)
ESI_Parse(sp);
switch (handling) {
switch (sp->handling) {
case VCL_RET_RESTART:
HSH_Drop(sp);
sp->director = NULL;
......
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