Commit 093b1123 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix synth handling and update docs

error has been long retired.
parent fbd72950
......@@ -879,12 +879,12 @@ dispatch_f(struct VSL_data *vsl, struct VSL_transaction * const pt[],
} else if (!strcasecmp(b, "pass")) {
CTX.hitmiss = "miss";
CTX.handling = "pass";
} else if (!strcasecmp(b, "error")) {
/* Arguably, error isn't a hit or
} else if (!strcasecmp(b, "synth")) {
/* Arguably, synth isn't a hit or
a miss, but miss is less
wrong */
CTX.hitmiss = "miss";
CTX.handling = "error";
CTX.handling = "synth";
}
break;
case SLT_VCL_return:
......
......@@ -119,7 +119,7 @@ Supported formatters are:
Varnish:handling
How the request was handled, whether it was a cache hit, miss,
pass, pipe or error.
pass, pipe or synth.
VCL_Log:key
Output value set by std.log("key:value") in VCL.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment