Varnish panic message on purge / synthetic
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Nov 13 02:12:40 CET 2010
In message <AANLkTimLyQnV0Mrj8Zf_5fOhaD53PcK7o+tjW_+z1Nea at mail.gmail.com>, "Reu
ben S." writes:
>I am getting an Assert error which I think is related to a synthetic {...}
>call I make in the vcl on PURGE commands from the back-end. Is this is a
>known issue? Should I be doing something differently?
yes, at present synthetic{} can only be used in vcl_error{}.
You can do an error(755), and test for that status in vcl_error{ } and
do the synthetic there.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list