Commit ef34ce9a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Respect VCL choice of handling

Do Id keyword


git-svn-id: http://www.varnish-cache.org/svn/trunk@124 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 67b7c6ce
......@@ -51,11 +51,15 @@ CacheWorker(void *priv)
sp->vcl->main_func(sp);
printf("Handling: %d\n", sp->handling);
if (0) {
switch(sp->handling) {
case HND_Unclass:
case HND_Handle:
case HND_Pipe:
PipeSession(&w, sp);
} else {
break;
case HND_Pass:
PassSession(&w, sp);
break;
}
AZ(pthread_mutex_lock(&sessmtx));
......
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