<div dir="ltr">That would be awesome to have if it does not exist.  I would even settle for something making it's way to the varnishncsa log file via something like a %{Varnish... parameter.</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 11:53 AM, Jeff Potter <span dir="ltr"><<a href="mailto:jpotter-varnish@codepuppy.com" target="_blank">jpotter-varnish@codepuppy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Hi List,<br>
<br>
Is there a way to figure out from inside vcl_error if the error was raised because of a backend timeout?<br>
<br>
I’m trying to return a synthetically generated doc to clients that lets us see that the error was due to a backend taking too long to reply, so that the client can react different in this case (as opposed to other errors).<br>


<br>
Thanks!<br>
<br>
-Jeff<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br></div>