[master] dee47cc47 VSL a SLT_RespProtocol HTTP/2.0 when we deliver by H2
Poul-Henning Kamp
phk at FreeBSD.org
Wed Feb 27 09:07:07 UTC 2019
commit dee47cc47b52dd8af11cb073661e9a757944aa7c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Feb 27 09:05:08 2019 +0000
VSL a SLT_RespProtocol HTTP/2.0 when we deliver by H2
Closes #2905
diff --git a/bin/varnishd/http2/cache_http2_deliver.c b/bin/varnishd/http2/cache_http2_deliver.c
index f19565011..20609e8e7 100644
--- a/bin/varnishd/http2/cache_http2_deliver.c
+++ b/bin/varnishd/http2/cache_http2_deliver.c
@@ -235,6 +235,7 @@ h2_deliver(struct req *req, struct boc *boc, int sendbody)
sp = req->sp;
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
+ VSLb(req->vsl, SLT_RespProtocol, "HTTP/2.0");
l = WS_Reserve(req->ws, 0);
AN(VSB_new(&resp, req->ws->f, l, VSB_FIXEDLEN));
More information about the varnish-commit
mailing list