[master] de3b95607 stevedore: Set up nuke_limit for buffer allocations
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Aug 31 08:44:05 UTC 2021
commit de3b95607de7698aefc80e39a8ec1e814ebb7d79
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Aug 31 07:32:13 2021 +0200
stevedore: Set up nuke_limit for buffer allocations
diff --git a/bin/varnishd/storage/stevedore.c b/bin/varnishd/storage/stevedore.c
index ea9c3d073..a35e9eb7a 100644
--- a/bin/varnishd/storage/stevedore.c
+++ b/bin/varnishd/storage/stevedore.c
@@ -122,6 +122,7 @@ STV_AllocBuf(struct worker *wrk, const struct stevedore *stv, size_t size)
if (stv->allocbuf == NULL)
return (NULL);
+ wrk->strangelove = cache_param->nuke_limit;
buf = stv->allocbuf(wrk, stv, size + PRNDUP(sizeof *stvbuf), &priv);
if (buf == NULL)
return (NULL);
More information about the varnish-commit
mailing list