]> err.no Git - varnish/commit
With Vary, Prefetch and degraded mode, a session sleeps not on a
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 28 Jan 2008 09:01:38 +0000 (09:01 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 28 Jan 2008 09:01:38 +0000 (09:01 +0000)
commitd604caeaf64bbecfff49d4686dfdd86659ff9986
tree572d3fcb36673fece8a5ea1e4ea8f4c670beda57
parentff2f6cbecf000e81e3dcae5fa17930a30a676986
With Vary, Prefetch and degraded mode, a session sleeps not on a
particular object, because we cannot know beforehand if it will work out
for us, but sleeps on any one of potentially multiple busy objects becoming
ready for us to test against.

Therefore it makes sense to move the waiting list from the object to the
object head, as this both simplifies the code and eliminates a refhold on
busy objects.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2389 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_hash.c