Via

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


In message <ujr64i3c2hy.fsf at cat.linpro.no>, 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.

Poul-Henning



>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
>RFC2616:
>
>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)
>
>DES
>-- 
>Dag-Erling Smørgrav
>Senior Software Developer
>Linpro AS - www.linpro.no
>_______________________________________________
>varnish-dev mailing list
>varnish-dev at projects.linpro.no
>http://projects.linpro.no/mailman/listinfo/varnish-dev
>

-- 
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