[6.0] ee7770164 Always AZ VSB_finish()
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Oct 31 13:08:05 UTC 2018
commit ee777016437fe44913140abca08e312b6577a2f8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Aug 22 07:00:07 2018 +0000
Always AZ VSB_finish()
diff --git a/bin/varnishd/http2/cache_http2_deliver.c b/bin/varnishd/http2/cache_http2_deliver.c
index a36d657c0..aea59e9a8 100644
--- a/bin/varnishd/http2/cache_http2_deliver.c
+++ b/bin/varnishd/http2/cache_http2_deliver.c
@@ -243,7 +243,7 @@ h2_deliver(struct req *req, struct boc *boc, int sendbody)
AZ(h2_enc_len(&resp, 7, sz, 0));
AZ(VSB_bcat(&resp, r, sz));
}
- VSB_finish(&resp);
+ AZ(VSB_finish(&resp));
sz = VSB_len(&resp);
AZ(req->wrk->v1l);
More information about the varnish-commit
mailing list