Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
de3b9560
Commit
de3b9560
authored
Aug 31, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stevedore: Set up nuke_limit for buffer allocations
parent
a9af17c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
stevedore.c
bin/varnishd/storage/stevedore.c
+1
-0
No files found.
bin/varnishd/storage/stevedore.c
View file @
de3b9560
...
@@ -122,6 +122,7 @@ STV_AllocBuf(struct worker *wrk, const struct stevedore *stv, size_t size)
...
@@ -122,6 +122,7 @@ STV_AllocBuf(struct worker *wrk, const struct stevedore *stv, size_t size)
if
(
stv
->
allocbuf
==
NULL
)
if
(
stv
->
allocbuf
==
NULL
)
return
(
NULL
);
return
(
NULL
);
wrk
->
strangelove
=
cache_param
->
nuke_limit
;
buf
=
stv
->
allocbuf
(
wrk
,
stv
,
size
+
PRNDUP
(
sizeof
*
stvbuf
),
&
priv
);
buf
=
stv
->
allocbuf
(
wrk
,
stv
,
size
+
PRNDUP
(
sizeof
*
stvbuf
),
&
priv
);
if
(
buf
==
NULL
)
if
(
buf
==
NULL
)
return
(
NULL
);
return
(
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment