[PATCH] add documentation about backend naming for VMOD authors
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Nov 13 00:31:34 CET 2015
--------
Just a note that I'm off the clock with some kind of throat
infection and I'm in no shape to think or make decisions.
Hope to be back monday.
In message <CABoVN9Bpbnc-eqL8W4RzxPx0Y3v+0EnsPXsG==f2+F1wJ0usAA at mail.gmail.com>
, Dridi Boukelmoune writes:
>> Comments ?
>>
>> (After this is settled, we'll look at which parts we can also
>> put in 4.1.x in ABI/API compatible ways)
>
>8. set the default backend/director in vcl_init
>
>set default_backend = rr.backend();
>
>The default backend cannot be removed. If no default backend is set,
>the first one is picked unless there's one actually named "default".
>
>9. remove the need for at least one native backend
>
>As long as a at least one backend is registered when the VCL is
>loaded, a user should not need to declare a dummy backend when they
>only use VMOD backends.
>
>Best,
>Dridi
>
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list