Commit 79826a6a authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Assert that Vary setting succeeds

parent 87921c1b
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment