Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
a9d35b47
Commit
a9d35b47
authored
Feb 19, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify comment, add assert + comment
parent
7d164e06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+2
-3
stevedore.c
bin/varnishd/storage/stevedore.c
+2
-0
No files found.
bin/varnishd/cache/cache_fetch.c
View file @
a9d35b47
...
...
@@ -572,9 +572,8 @@ FetchBody(struct worker *wrk, struct object *obj)
AZ
(
bo
->
vgz_rx
);
/*
* It is OK for ->end to just leave the last storage segment
* sitting on wrk->storage, we will always call vfp_nop_end()
* to get it trimmed or thrown out if empty.
* We always call vfp_nop_end() to ditch or trim the last storage
* segment, to avoid having to replicate that code in all vfp's.
*/
AZ
(
vfp_nop_end
(
bo
));
...
...
bin/varnishd/storage/stevedore.c
View file @
a9d35b47
...
...
@@ -177,6 +177,8 @@ stv_alloc(struct busyobj *bo, size_t size)
if
(
size
>
cache_param
->
fetch_maxchunksize
)
size
=
cache_param
->
fetch_maxchunksize
;
assert
(
size
<=
UINT_MAX
);
/* field limit in struct storage */
for
(;;)
{
/* try to allocate from it */
AN
(
stv
->
alloc
);
...
...
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