r124 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Apr 6 10:18:11 CEST 2006
Author: phk
Date: 2006-04-06 10:18:11 +0200 (Thu, 06 Apr 2006)
New Revision: 124
Modified:
trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Respect VCL choice of handling
Do Id keyword
Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-04-06 08:16:26 UTC (rev 123)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-04-06 08:18:11 UTC (rev 124)
@@ -51,11 +51,15 @@
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));
Property changes on: trunk/varnish-cache/bin/varnishd/cache_pool.c
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the varnish-commit
mailing list