[master] 8f036a0 Make our Via header RFC compliant.
Poul-Henning Kamp
phk at FreeBSD.org
Mon May 12 10:14:35 CEST 2014
commit 8f036a0b86221d6dcbf29021ccfdae1cbda7d04b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon May 12 08:14:09 2014 +0000
Make our Via header RFC compliant.
diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index d465ba4..fea943e 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -124,7 +124,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
http_PrintfHeader(req->resp, "Age: %.0f",
fmax(0., req->t_prev - req->obj->exp.t_origin));
- http_SetHeader(req->resp, "Via: 1.1 varnish (v4)");
+ http_SetHeader(req->resp, "Via: 1.1 varnish-v4");
if (cache_param->http_gzip_support && req->obj->gziped &&
!RFC2616_Req_Gzip(req->http))
More information about the varnish-commit
mailing list