Closed Wonshtrum closed 6 months ago
TODO:
It would be meaningfull to add a CLUSTER_ID
replaceable variable in the template, for errors 502, 503, 504 and 507.
providing cluster id as CLUSTER_ID where possible would be very nice too. So, to sum up:
wait, I messed up something when rebasing main
Make all automatic answers configurable. The goal is to be able to provide an HTML-like file for each automatic answer generated by Sozu. The format allows some templating to generate dynamic responses. The format is parsed from Http/1.1 to our Kawa intermediate format only once and at the start of a worker. Parsing resolves all templating variables and generates a trivial in-place replacement strategy. Filling a template should be as performant as possible.