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
a821dc89
Unverified
Commit
a821dc89
authored
Jun 17, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use $Restrict
parent
3b80dbce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
vmod_zipflow.c
src/vmod_zipflow.c
+1
-4
vmod_zipflow.vcc
src/vmod_zipflow.vcc
+2
-0
No files found.
src/vmod_zipflow.c
View file @
a821dc89
...
@@ -123,10 +123,7 @@ vmod_set_level(VRT_CTX, VCL_INT level)
...
@@ -123,10 +123,7 @@ vmod_set_level(VRT_CTX, VCL_INT level)
default_level
=
level
;
default_level
=
level
;
return
;
return
;
}
}
if
(
ctx
->
method
&
VCL_MET_TASK_H
)
{
AZ
(
ctx
->
method
&
VCL_MET_TASK_H
);
VRT_fail
(
ctx
,
"set_level can not be called here"
);
return
;
}
AN
(
ctx
->
method
&
(
VCL_MET_TASK_C
|
VCL_MET_TASK_B
));
AN
(
ctx
->
method
&
(
VCL_MET_TASK_C
|
VCL_MET_TASK_B
));
zft
=
get_zipflow_task
(
ctx
);
zft
=
get_zipflow_task
(
ctx
);
...
...
src/vmod_zipflow.vcc
View file @
a821dc89
...
@@ -39,6 +39,8 @@ Example
...
@@ -39,6 +39,8 @@ Example
$Function VOID set_level(INT level)
$Function VOID set_level(INT level)
$Restrict vcl_init client backend
Set the (default) compression level for the zipflow filter.
Set the (default) compression level for the zipflow filter.
Valid values for `level` are -1 to select the default compression
Valid values for `level` are -1 to select the default compression
...
...
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