Commit adbff322 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix an off by quite a lot error which neutered most of the good

predictive vary could do.
parent 1f836b1f
......@@ -261,7 +261,7 @@ VRY_Match(struct req *req, const uint8_t *vary)
vsp[ln + 1] = 0xff;
vsp[ln + 2] = 0;
VRY_Validate(vsp);
req->vary_l = vsp + 3;
req->vary_l = vsp + ln + 3;
i = vry_cmp(vary, vsp);
assert(i == 0 || i == 2);
......
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