[master] 79826a6 Assert that Vary setting succeeds
Martin Blix Grydeland
martin at varnish-software.com
Tue Feb 23 17:44:46 CET 2016
commit 79826a6ae5e25bdcd731dea1b3eb205133ed80aa
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Fri Oct 30 10:50:22 2015 +0100
Assert that Vary setting succeeds
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 83945b3..8febc5e 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -129,8 +129,8 @@ vbf_beresp2obj(struct busyobj *bo)
return (-1);
if (vary != NULL) {
- b = ObjSetAttr(bo->wrk, bo->fetch_objcore, OA_VARY, varyl,
- VSB_data(vary));
+ AN(ObjSetAttr(bo->wrk, bo->fetch_objcore, OA_VARY, varyl,
+ VSB_data(vary)));
VSB_delete(vary);
}
More information about the varnish-commit
mailing list