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
8d0b37d6
Unverified
Commit
8d0b37d6
authored
Dec 27, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the V1L VDP to get in line with oder VDPs
parent
b5d8e571
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cache_http1.h
bin/varnishd/http1/cache_http1.h
+1
-1
cache_http1_deliver.c
bin/varnishd/http1/cache_http1_deliver.c
+1
-1
cache_http1_line.c
bin/varnishd/http1/cache_http1_line.c
+1
-1
No files found.
bin/varnishd/http1/cache_http1.h
View file @
8d0b37d6
...
@@ -65,4 +65,4 @@ void V1L_Open(struct worker *, struct ws *, int *fd, struct vsl_log *,
...
@@ -65,4 +65,4 @@ void V1L_Open(struct worker *, struct ws *, int *fd, struct vsl_log *,
stream_close_t
V1L_Flush
(
const
struct
worker
*
w
);
stream_close_t
V1L_Flush
(
const
struct
worker
*
w
);
stream_close_t
V1L_Close
(
struct
worker
*
w
,
uint64_t
*
cnt
);
stream_close_t
V1L_Close
(
struct
worker
*
w
,
uint64_t
*
cnt
);
size_t
V1L_Write
(
const
struct
worker
*
w
,
const
void
*
ptr
,
ssize_t
len
);
size_t
V1L_Write
(
const
struct
worker
*
w
,
const
void
*
ptr
,
ssize_t
len
);
extern
const
struct
vdp
*
const
v1l_vdp
;
extern
const
struct
vdp
*
const
VDP_v1l
;
bin/varnishd/http1/cache_http1_deliver.c
View file @
8d0b37d6
...
@@ -97,7 +97,7 @@ V1D_Deliver(struct req *req, struct boc *boc, int sendbody)
...
@@ -97,7 +97,7 @@ V1D_Deliver(struct req *req, struct boc *boc, int sendbody)
}
}
INIT_OBJ
(
ctx
,
VRT_CTX_MAGIC
);
INIT_OBJ
(
ctx
,
VRT_CTX_MAGIC
);
VCL_Req2Ctx
(
ctx
,
req
);
VCL_Req2Ctx
(
ctx
,
req
);
if
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
v1l_vdp
,
NULL
))
{
if
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
VDP_v1l
,
NULL
))
{
v1d_error
(
req
,
"Failure to push v1d processor"
);
v1d_error
(
req
,
"Failure to push v1d processor"
);
return
;
return
;
}
}
...
...
bin/varnishd/http1/cache_http1_line.c
View file @
8d0b37d6
...
@@ -365,7 +365,7 @@ v1l_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
...
@@ -365,7 +365,7 @@ v1l_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
return
(
0
);
return
(
0
);
}
}
const
struct
vdp
*
const
v1l_vdp
=
&
(
struct
vdp
){
const
struct
vdp
*
const
VDP_v1l
=
&
(
struct
vdp
){
.
name
=
"V1B"
,
.
name
=
"V1B"
,
.
bytes
=
v1l_bytes
,
.
bytes
=
v1l_bytes
,
};
};
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