Commit dc3dff0e authored by Nils Goroll's avatar Nils Goroll

fix setting uncacheable_direct via the backend method

We accidentally used the presence of the argument, not the argument
value itself
parent dbfa5ac3
......@@ -522,10 +522,10 @@ vmod_cluster_backend(VRT_CTX,
pl->real = arg->real;
}
if (arg->valid_uncacheable_direct &&
pr->uncacheable_direct != arg->valid_uncacheable_direct) {
pr->uncacheable_direct != arg->uncacheable_direct) {
if (pl == NULL)
pr = pl = cluster_task_param_l(ctx, vc, nblack, spc);
pl->uncacheable_direct = arg->valid_uncacheable_direct;
pl->uncacheable_direct = arg->uncacheable_direct;
}
if (resolve == LAZY)
return (vc->dir);
......
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