Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-zipflow
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
libvmod-zipflow
Commits
ab2383fc
Unverified
Commit
ab2383fc
authored
Sep 10, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return status
parent
1c40353e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vmod_zipflow.c
src/vmod_zipflow.c
+3
-3
No files found.
src/vmod_zipflow.c
View file @
ab2383fc
...
...
@@ -613,7 +613,7 @@ vdp_zipflow_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
if
(
zft
->
req
)
{
VSLb
(
vdc
->
vsl
,
SLT_Error
,
"zipflow: can't be nested"
);
return
(
1
);
return
(
-
1
);
}
if
(
vdc
->
req
->
resp_len
==
0
)
{
...
...
@@ -627,7 +627,7 @@ vdp_zipflow_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
if
(
zft
->
zis
==
NULL
)
{
VSLb
(
vdc
->
vsl
,
SLT_Error
,
"zipflow: workspace "
"overflow for body_resp"
);
return
(
1
);
return
(
-
1
);
}
zft
->
zis
->
zft
=
zft
;
zft
->
zis
->
func
=
zfr_iter_include
;
...
...
@@ -640,7 +640,7 @@ vdp_zipflow_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, struct objcore *oc)
zft
->
zip
=
zip_pipe
(
vdc
,
vdp_zipflow_put
,
zfr
->
level
);
if
(
zft
->
zip
==
NULL
)
{
VSLb
(
vdc
->
vsl
,
SLT_Error
,
"zipflow: zip_pipe failed"
);
return
(
1
);
return
(
-
1
);
}
AZ
(
zip_log
(
zft
->
zip
,
vdc
->
vsl
,
vdp_zipflow_log
));
...
...
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