Via

Dag-Erling Smørgrav des at linpro.no
Tue Jul 11 22:26:01 CEST 2006


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



More information about the varnish-dev mailing list