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
d8a627ec
Unverified
Commit
d8a627ec
authored
May 29, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify VFP_NULL semantics
parent
5e34d67f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cache_fetch_proc.c
bin/varnishd/cache/cache_fetch_proc.c
+1
-0
cache_filter.h
bin/varnishd/cache/cache_filter.h
+1
-1
No files found.
bin/varnishd/cache/cache_fetch_proc.c
View file @
d8a627ec
...
@@ -201,6 +201,7 @@ VFP_Suck(struct vfp_ctx *vc, void *p, ssize_t *lp)
...
@@ -201,6 +201,7 @@ VFP_Suck(struct vfp_ctx *vc, void *p, ssize_t *lp)
vp
=
vfe
->
closed
;
vp
=
vfe
->
closed
;
}
}
vc
->
vfp_nxt
=
vfe
;
vc
->
vfp_nxt
=
vfe
;
assert
(
vp
!=
VFP_NULL
);
return
(
vp
);
return
(
vp
);
}
}
...
...
bin/varnishd/cache/cache_filter.h
View file @
d8a627ec
...
@@ -40,7 +40,7 @@ enum vfp_status {
...
@@ -40,7 +40,7 @@ enum vfp_status {
VFP_ERROR
=
-
1
,
VFP_ERROR
=
-
1
,
VFP_OK
=
0
,
VFP_OK
=
0
,
VFP_END
=
1
,
VFP_END
=
1
,
VFP_NULL
=
2
,
VFP_NULL
=
2
,
// signal bypass, never returned by VFP_Suck()
};
};
typedef
enum
vfp_status
vfp_init_f
(
VRT_CTX
,
struct
vfp_ctx
*
,
typedef
enum
vfp_status
vfp_init_f
(
VRT_CTX
,
struct
vfp_ctx
*
,
...
...
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