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
8d5d94f7
Unverified
Commit
8d5d94f7
authored
May 28, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename v1f_* pull callbacks for consistency
For other VFPs, we use the scheme <vfpname>_<callbackname>
parent
d0345f9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
cache_http1_vfp.c
bin/varnishd/http1/cache_http1_vfp.c
+6
-6
No files found.
bin/varnishd/http1/cache_http1_vfp.c
View file @
8d5d94f7
...
...
@@ -96,7 +96,7 @@ v1f_read(const struct vfp_ctx *vc, struct http_conn *htc, void *d, ssize_t len)
*/
static
enum
vfp_status
v_matchproto_
(
vfp_pull_f
)
v1f_
pull_chunked
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
ptr
,
v1f_
chunked_pull
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
ptr
,
ssize_t
*
lp
)
{
struct
http_conn
*
htc
;
...
...
@@ -185,14 +185,14 @@ v1f_pull_chunked(struct vfp_ctx *vc, struct vfp_entry *vfe, void *ptr,
static
const
struct
vfp
v1f_chunked
=
{
.
name
=
"V1F_CHUNKED"
,
.
pull
=
v1f_
pull_chunked
,
.
pull
=
v1f_
chunked_pull
,
};
/*--------------------------------------------------------------------*/
static
enum
vfp_status
v_matchproto_
(
vfp_pull_f
)
v1f_
pull_straight
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
p
,
v1f_
straight_pull
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
p
,
ssize_t
*
lp
)
{
ssize_t
l
,
lr
;
...
...
@@ -222,13 +222,13 @@ v1f_pull_straight(struct vfp_ctx *vc, struct vfp_entry *vfe, void *p,
static
const
struct
vfp
v1f_straight
=
{
.
name
=
"V1F_STRAIGHT"
,
.
pull
=
v1f_
pull_straight
,
.
pull
=
v1f_
straight_pull
,
};
/*--------------------------------------------------------------------*/
static
enum
vfp_status
v_matchproto_
(
vfp_pull_f
)
v1f_
pull_eof
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
p
,
ssize_t
*
lp
)
v1f_
eof_pull
(
struct
vfp_ctx
*
vc
,
struct
vfp_entry
*
vfe
,
void
*
p
,
ssize_t
*
lp
)
{
ssize_t
l
,
lr
;
struct
http_conn
*
htc
;
...
...
@@ -253,7 +253,7 @@ v1f_pull_eof(struct vfp_ctx *vc, struct vfp_entry *vfe, void *p, ssize_t *lp)
static
const
struct
vfp
v1f_eof
=
{
.
name
=
"V1F_EOF"
,
.
pull
=
v1f_
pull_eof
,
.
pull
=
v1f_
eof_pull
,
};
/*--------------------------------------------------------------------
...
...
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