Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
43e61e17
Unverified
Commit
43e61e17
authored
Jan 25, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
b37859ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
vdp_pesi.c
src/vdp_pesi.c
+7
-6
No files found.
src/vdp_pesi.c
View file @
43e61e17
...
...
@@ -653,7 +653,7 @@ static const struct vdp VDP_pesi_buf = {
*/
static
int
v_matchproto_
(
vdp_init_f
)
vdp_pesi_init
(
struct
vdp_ctx
*
vdc
,
void
**
priv
,
struct
objcore
*
oc
)
vdp_pesi_init
(
VRT_CTX
,
struct
vdp_ctx
*
vdc
,
void
**
priv
,
struct
objcore
*
oc
)
{
struct
req
*
req
;
struct
pesi
*
pesi
;
...
...
@@ -686,7 +686,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
return
(
0
);
}
...
...
@@ -742,7 +742,7 @@ vdp_pesi_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
AZ
(
pecx
->
state
);
AZ
(
pesi
->
woken
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
...
...
@@ -1249,15 +1249,16 @@ vped_next_vdp(struct req *req)
}
static
void
push_vdps
(
struct
req
*
req
,
struct
vped_gzgz_priv
*
vgzgz
,
struct
nexus_gzip
*
gz
)
push_vdps
(
VRT_CTX
,
struct
req
*
req
,
struct
vped_gzgz_priv
*
vgzgz
,
struct
nexus_gzip
*
gz
)
{
if
(
vgzgz
!=
NULL
)
{
AZ
(
gz
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
vped_gzgz
,
vgzgz
));
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
vped_gzgz
,
vgzgz
));
}
else
if
(
gz
!=
NULL
)
{
AZ
(
vgzgz
);
AZ
(
VDP_Push
(
req
->
vdc
,
req
->
ws
,
&
vped_pretend_gz
,
gz
));
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
vped_pretend_gz
,
gz
));
}
else
{
AZ
(
vgzgz
);
...
...
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