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

Make sure to not involve 64 bit overflow

parent 5e94577f
......@@ -32,7 +32,8 @@ varnish v1 -vcl+backend {
set resp.http.foo = obj.ttl * 10000000000;
}
if (req.http.bar) {
set resp.http.bar = storage.Transient.free_space * 10000000 * 100000000;
# unlimited malloc stevedore returns VCL_INT_MAX - epsilon
set resp.http.bar = storage.Transient.free_space * 10;
}
}
} -start
......
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