varnishcache / varnish-cache

Varnish Cache source code repository
https://www.varnish-cache.org
Other
3.64k stars 374 forks source link

POC: New beresp.error VCL variable #4097

Open dridi opened 5 months ago

dridi commented 5 months ago

Following several VDD discussions, this patch series shows how getting a backend error could look like in VCL, and how it could be articulated in the core code.

This should check the boxes from the last consensus:

The first two commits are unrelated, I found a bug in libvcc while I was working on this. I will submit a pull request once I'm done with that bug (only partly fixed here) so the relevant commits to review are the ones starting with "POC".

If we still have consensus on this approach, I will find someone™ to submit something comprehensive.

dridi commented 4 months ago

Bugwash summary:

Then we reevaluate the error reporting.

dridi commented 2 months ago

I wanted to revisit this ticket this morning and noticed that I forgot about the libvcc bug. I pushed 0c8448e0ef...b77b709510 to fix it.

nigoroll commented 1 week ago

bugwash label removed because this ticket needs an update