On Sat, Dec 5, 2015 at 6:34 PM, Poul-Henning Kamp <[email protected]> wrote:
>
>
> Uhm...  both dir->resolve() and dir->gethdrs() take a BO argument:
>
>     typedef const struct director *vdi_resolve_f(const struct director *,
>         struct worker *, struct busyobj *);
>
>     typedef int vdi_gethdrs_f(const struct director *, struct worker *,
>         struct busyobj *);


Hi

The problem is rather that vmod_directors passes NULL for the bo when
invoking the vdi_healthy_f function in vdir_pick_be.

I opened a PR for a fix, see https://github.com/varnish/Varnish-Cache/pull/77

-- 
Dag Haavi Finstad
Software Developer | Varnish Software
Mobile: +47 476 64 134
We Make Websites Fly!

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to