Poul-Henning Kamp phk at
Tue Jul 11 22:36:50 CEST 2006

In message <ujr64i3c2hy.fsf at>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:

Yes, this is on my todo list.

We also need to send a Via line to the server

Right now I'm writing a "varnishtester" so we can script
test cases efficiently.

Once I have that working enough, I'll start to flesh out
all the bits in the state diagram and the header handling.


>Varnish currently sends out a Via: header that looks like this:
>Via: 1.1 varnish
>I'd like to change it to the following, which is more in line with
>Via: 1.1 <hostname> (Varnish <version>)
>Strictly speaking, we should merge this with the backend's Via: header
>(if any) so that if the backend sends
>Via: 1.0 <backend-hostname> (Apache/3.14)
>we should send
>Via: 1.1 <hostname> (Varnish <version>), 1.0 <backend-hostname> (Apache/3.14)
>(we might consider moving this into VCL, BTW)
>Dag-Erling Smørgrav
>Senior Software Developer
>Linpro AS -
>varnish-dev mailing list
>varnish-dev at

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