Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
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-selector
Commits
8d41e185
Commit
8d41e185
authored
Oct 16, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the "no such element" error message.
parent
61dfec02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
README.rst
README.rst
+8
-6
vmod_selector.vcc
src/vmod_selector.vcc
+8
-6
No files found.
README.rst
View file @
8d41e185
...
...
@@ -261,12 +261,14 @@ as follows:
lookup in an associative array.
If ``element`` is set but the lookup fails, that is if there is no
such element in the set, then VCL failure is invoked. If the lookup
for the ``element`` succeeds, then the successful match establishes
a match context for subsequent code. That means that the rules
presently described can be applied again, as if ``.match()`` had
returned ``true`` for the ``element`` (internally, that is in fact
what happens).
such element in the set, then VCL failure is invoked, with the
string "no such element" in the ``VCL_Error`` log message.
If the lookup for the ``element`` succeeds, then the successful
match establishes a match context for subsequent code. That means
that the rules presently described can be applied again, as if
``.match()`` had returned ``true`` for the ``element`` (internally,
that is in fact what happens).
The internal match against ``element`` is case sensitive if and only
if the ``case_sensitive`` flag was ``true`` in the set constructor
...
...
src/vmod_selector.vcc
View file @
8d41e185
...
...
@@ -257,12 +257,14 @@ as follows:
lookup in an associative array.
If ``element`` is set but the lookup fails, that is if there is no
such element in the set, then VCL failure is invoked. If the lookup
for the ``element`` succeeds, then the successful match establishes
a match context for subsequent code. That means that the rules
presently described can be applied again, as if ``.match()`` had
returned ``true`` for the ``element`` (internally, that is in fact
what happens).
such element in the set, then VCL failure is invoked, with the
string "no such element" in the ``VCL_Error`` log message.
If the lookup for the ``element`` succeeds, then the successful
match establishes a match context for subsequent code. That means
that the rules presently described can be applied again, as if
``.match()`` had returned ``true`` for the ``element`` (internally,
that is in fact what happens).
The internal match against ``element`` is case sensitive if and only
if the ``case_sensitive`` flag was ``true`` in the set constructor
...
...
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