On Wed, Nov 4, 2015 at 11:15 AM, Poul-Henning Kamp <p...@phk.freebsd.dk> wrote: > -------- > In message > <CABaBnj5Bs+6bLDej6=mhoxqx4eafwvz5qgb9esooehk+4jh...@mail.gmail.com>, Kacper > Wyso > cki writes: > >>Oh. I hadn't seen req.backend.name. I guess the type conversion is a >>little counter to my intuition too. > > I'm not very happy about "req.backend.name", it is *very* magic and not > general to any other backend anywhere else in VCL. > > The real fix would be to allow standardized (ie: builtin) methods on the > VCL_* types themselves, so that one could do things like > > > $backend.ip() > $backend.name() > > etc. > > Implementing it will take some VCC hacking
If needed I can take this one once I get enough bandwidth and more precise requirements, I'm getting used to dealing with VCC and backends :) Dridi _______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev