Varnishtest client user agents

Dridi Boukelmoune dridi at varni.sh
Wed Jul 12 06:55:53 UTC 2023


On Wed, Jul 12, 2023 at 5:21 AM Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>
> --------
> Dridi Boukelmoune writes:
>
> > Would it be OK to have `client cNAME` send a `User-Agent: vtest
> > (cNAME)` or similar to reduce some of it?
>
> I generally just use /c1 /c2 etc in the URL ?

That's part of the frustration, whenever I'm troubleshooting a test
case I have to jump through more hoops to get something useful. What I
would like is something out of the box, such as clients advertising
themselves in a User-Agent header.

I would have considered `Server: vtest (sNAME)` if it weren't for the
Via headers added by Varnish already. In that regard I no longer need
an indirection to find out where the bereq went to when multiple
servers are involved.

Dridi


More information about the varnish-dev mailing list