[master] d431018 Start saying Via 5.1

Poul-Henning Kamp phk at FreeBSD.org
Tue Mar 14 20:19:05 CET 2017


commit d431018453f7592fee2f896270d8f8c6ca54de9d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Mar 14 19:18:23 2017 +0000

    Start saying Via 5.1

diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index fa77dd8..ee135e7 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -141,7 +141,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
 	http_PrintfHeader(req->resp, "Age: %.0f",
 	    floor(fmax(0., req->t_prev - req->objcore->t_origin)));
 
-	http_SetHeader(req->resp, "Via: 1.1 varnish (Varnish/5.0)");
+	http_SetHeader(req->resp, "Via: 1.1 varnish (Varnish/5.1)");
 
 	if (cache_param->http_gzip_support &&
 	    ObjCheckFlag(req->wrk, req->objcore, OF_GZIPED) &&



More information about the varnish-commit mailing list