Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-re
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-re
Commits
d4289cb6
Unverified
Commit
d4289cb6
authored
Oct 01, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust to VDP API changes as of Varnish-Cache 7.6
parent
253cd88a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
vmod_re.c
src/vmod_re.c
+3
-6
No files found.
src/vmod_re.c
View file @
d4289cb6
...
...
@@ -1489,20 +1489,16 @@ re_vfp_fini(struct vfp_ctx *vc, struct vfp_entry *vfe)
(type *)((char *)__mptr - offsetof(type, member)) ; })
static
int
v_matchproto_
(
vdp_init_f
)
re_vdp_init
(
VRT_CTX
,
struct
vdp_ctx
*
vdx
,
void
**
priv
,
struct
objcore
*
oc
)
re_vdp_init
(
VRT_CTX
,
struct
vdp_ctx
*
vdx
,
void
**
priv
)
{
const
struct
vmod_re_regex
*
re
;
struct
vdp_container
*
vdpc
;
struct
re_flt_state
*
res
;
struct
vdp_entry
*
vde
;
struct
vmod_priv
*
task
;
struct
req
*
req
;
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
vdx
,
VDP_CTX_MAGIC
);
CHECK_OBJ_ORNULL
(
oc
,
OBJCORE_MAGIC
);
req
=
vdx
->
req
;
CHECK_OBJ_NOTNULL
(
req
,
REQ_MAGIC
);
/*
* making a mountain out of a molehill because we do not
...
...
@@ -1531,7 +1527,8 @@ re_vdp_init(VRT_CTX, struct vdp_ctx *vdx, void **priv, struct objcore *oc)
AZ
(
*
priv
);
*
priv
=
res
;
req
->
resp_len
=
-
1
;
AN
(
vdx
->
clen
);
*
vdx
->
clen
=
-
1
;
return
(
0
);
}
...
...
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