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
b0c33f72
Commit
b0c33f72
authored
May 11, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The problem of using vre limits from the Varish params is finally fixed.
parent
7def7624
Pipeline
#202
skipped
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
README.rst
README.rst
+0
-4
vmod_re.c
src/vmod_re.c
+0
-4
vmod_re.vcc
src/vmod_re.vcc
+0
-4
No files found.
README.rst
View file @
b0c33f72
...
...
@@ -357,14 +357,10 @@ full expression indicated by backref 0. If a ``match`` or
(10 substrings and the full string), then a ``VCL_Error`` message is
emitted to the Varnish log, and the captures are limited to 11.
XXX: the following paragraph is currently not true, bug is under
investigation
Regular expression matching is subject to the same limitations that
hold for standard regexen in VCL, for example as set by the runtime
parameters ``pcre_match_limit`` and ``pcre_match_limit_recursion``.
SEE ALSO
========
...
...
src/vmod_re.c
View file @
b0c33f72
...
...
@@ -157,12 +157,8 @@ match(VRT_CTX, vre_t *vre, VCL_STRING subject, struct vmod_priv *task)
else
CAST_OBJ
(
ov
,
task
->
priv
,
OV_MAGIC
);
/* XXX: cache_param->vre_limits incorrect?! */
s
=
VRE_exec
(
vre
,
subject
,
strlen
(
subject
),
0
,
0
,
nov
,
MAX_OV
,
NULL
);
#if 0
&
cache_param
->
vre_limits
);
#endif
if
(
s
<=
VRE_ERROR_NOMATCH
)
{
if
(
s
<
VRE_ERROR_NOMATCH
)
VSLb
(
ctx
->
vsl
,
SLT_VCL_Error
,
...
...
src/vmod_re.vcc
View file @
b0c33f72
...
...
@@ -293,14 +293,10 @@ full expression indicated by backref 0. If a ``match`` or
(10 substrings and the full string), then a ``VCL_Error`` message is
emitted to the Varnish log, and the captures are limited to 11.
XXX: the following paragraph is currently not true, bug is under
investigation
Regular expression matching is subject to the same limitations that
hold for standard regexen in VCL, for example as set by the runtime
parameters ``pcre_match_limit`` and ``pcre_match_limit_recursion``.
SEE ALSO
========
...
...
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