]> err.no Git - varnish/commit
Add a "panic" vcl command, which does what you would expect.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 08:06:16 +0000 (08:06 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 08:06:16 +0000 (08:06 +0000)
commit75870abfc9b63ff87a24727a5ce7daa73dea975b
treeb97f61eee852be823df5a81726bc4de481bcf26f
parent08643564132add192033ed26d4f5ebbbd3b78fee
Add a "panic" vcl command, which does what you would expect.

Takes a string argument, so it is possible to do:

 panic "Trouble with " req.url " (not the way I expected it!);

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2984 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_panic.c
varnish-cache/bin/varnishd/cache_vrt.c
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_action.c
varnish-cache/lib/libvcl/vcc_fixed_token.c