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
1abb6ed0
Unverified
Commit
1abb6ed0
authored
Jul 25, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
$Restrict to the client side
parent
73540cb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
vmod_zipflow.c
src/vmod_zipflow.c
+1
-1
vmod_zipflow.vcc
src/vmod_zipflow.vcc
+7
-1
No files found.
src/vmod_zipflow.c
View file @
1abb6ed0
...
...
@@ -224,7 +224,7 @@ vmod_set_level(VRT_CTX, VCL_INT level)
}
AZ
(
ctx
->
method
&
VCL_MET_TASK_H
);
AN
(
ctx
->
method
&
(
VCL_MET_TASK_C
|
VCL_MET_TASK_B
)
);
AN
(
ctx
->
method
&
VCL_MET_TASK_C
);
zfr
=
get_zipflow_request
(
ctx
);
if
(
zfr
==
NULL
)
return
;
...
...
src/vmod_zipflow.vcc
View file @
1abb6ed0
...
...
@@ -39,6 +39,8 @@ Example
$Function VOID subreq(STRING url)
$Restrict client
Issue a sub requets to *url* when the VDP runs, similar to ESI
processing.
...
...
@@ -49,17 +51,21 @@ how zipflow handles the body.
$Function BOOL is_subreq()
$Restrict client
True if the current request is a zipflow sub request.
$Function VOID bundle(BOOL)
$Restrict client
By default, any content handled by zipflow, be it in the parent or sub
reuqest, is bundled in the resulting ZIP file. This function can be
used to diable or re-enable bundling of the request's body.
$Function VOID set_level(INT level)
$Restrict vcl_init client
backend
$Restrict vcl_init client
Set the (default) compression level for the zipflow filter.
...
...
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