]> err.no Git - varnish/commit
ESI includes can hit the waiting list and since the state is stored
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 17 Oct 2008 21:29:49 +0000 (21:29 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 17 Oct 2008 21:29:49 +0000 (21:29 +0000)
commitcdeb57416f476cd1291400e87830edf5dec5197b
tree807a07b8c4976cc399e2371b797cd5be5337dfad
parente9d3b55178fff49e721949d35ec3baabeadbfe87
ESI includes can hit the waiting list and since the state is stored
on the worker thread stack, we cannot just let another thread pick
up.

This is not as much a fix as a workaround: simply sleep until the
object we wait for is no longer busy.

The issue may have to be revisited in the long run, but for 2.0.x
this will have to do.

Fixes #345

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3322 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_hash.c
varnish-cache/bin/varnishd/cache_vrt_esi.c
varnish-cache/bin/varnishtest/tests/r00345.vtc [new file with mode: 0644]