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
73540cb1
Unverified
Commit
73540cb1
authored
Jul 25, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Basic implementation of zipflow.subreq
It does not have any effect yet
parent
052605f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
vmod_zipflow.c
src/vmod_zipflow.c
+9
-2
No files found.
src/vmod_zipflow.c
View file @
73540cb1
...
...
@@ -68,6 +68,7 @@ struct zipflow_request {
#define ZIPFLOW_REQUEST_MAGIC 0xaa175160
unsigned
bundle
:
1
;
char
level
;
VCL_STRING
url
;
VCL_STRING
name
;
unsigned
mode
;
uint32_t
atime
,
mtime
;
...
...
@@ -170,10 +171,16 @@ get_zipflow_request(VRT_CTX)
VCL_VOID
vmod_subreq
(
VRT_CTX
,
VCL_STRING
url
)
{
struct
zipflow_request
*
zfr
;
struct
zipflow_top
*
zft
;
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
AN
(
ctx
->
method
&
(
VCL_MET_TASK_C
));
// XXX TODO
(
void
)
url
;
zft
=
get_zipflow_top
(
ctx
);
zfr
=
new_zipflow_request
(
ctx
,
zft
);
zfr
->
url
=
url
;
}
VCL_BOOL
...
...
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