[master] 8e0b7b2 Via: 1.1 varnish (Varnish/5.2)

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Fri Sep 15 11:16:04 UTC 2017


commit 8e0b7b20446f96cb66972f47e2c3d843aff79006
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Fri Sep 15 13:14:38 2017 +0200

    Via: 1.1 varnish (Varnish/5.2)

diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index 8a7b6de..0b56b80 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -148,7 +148,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.1)");
+	http_SetHeader(req->resp, "Via: 1.1 varnish (Varnish/5.2)");
 
 	if (cache_param->http_gzip_support &&
 	    ObjCheckFlag(req->wrk, req->objcore, OF_GZIPED) &&


More information about the varnish-commit mailing list