I recently got bit by this functionality, and I was hoping that someone could shed some light on why this is the default behavior for varnish.<div><br></div><div>For context, I have an internal POST call, that only recently became long running, and would timeout (although the actually call would complete), and as a result, varnish apparently retries the POST, which resulted in the action being performed several times. From everything I have read online, the retry should only occur once, but I could have sworn I saw it happen multiple times.</div>
<div><br></div><div>I found some forum posts online indicating the retry logic exists: <a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/2010-December/019538.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/2010-December/019538.html</a></div>
<div><br></div><div>and even a patch (which doesn't seem to have been applied):</div><div><a href="https://www.varnish-cache.org/lists/pipermail/varnish-dev/2011-August/006857.html">https://www.varnish-cache.org/lists/pipermail/varnish-dev/2011-August/006857.html</a></div>
<div><br></div><div>Granted, I should move the long running process to a background job (which I am doing now), but I was hoping to get some understanding as to why this logic exists.</div><div><br></div><div>Thanks.</div>