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
2b1aa0c1
Commit
2b1aa0c1
authored
Sep 18, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish updating README.
parent
c8b71cb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
20 deletions
+50
-20
README.rst
README.rst
+25
-10
vmod_selector.vcc
src/vmod_selector.vcc
+25
-10
No files found.
README.rst
View file @
2b1aa0c1
...
...
@@ -1023,13 +1023,31 @@ as workspace exhaustion.
LOGGING
=======
XXX ...
Both of ``.match()`` and ``.hasprefix()`` return ``false`` when the
string to be matched is NULL, typically because an unset header was
specified. Such usage may be deliberate; you might intend VCL logic to
depend on whether a header either doesn't match or does not exist. But
it may be an error, for example due to misspelling the header name.
When the string to be matched is NULL, the VMOD emits a warning to the
log with the tag ``Notice``, in this format::
vmod_selector: <obj>.<method>(): subject string is NULL
... where ``<obj>`` is the object name and ``<method>`` is either
``match`` or ``hasprefix``.
As noted above, VCL failure during request/response transactions
(after successful VCL load) is logged with an error message using the
``VCL_Error`` tag. These messages begin with the prefix ``vmod
selector failure``.
REQUIREMENTS
============
The VMOD requires Varnish since version 6.0.0, or the current master
branch.
The VMOD requires Varnish since version 6.5.0, or the current master
branch. See the source repository for versions of the VMOD that are
compatible with other versions of Varnish.
INSTALLATION
============
...
...
@@ -1049,6 +1067,10 @@ The VMOD uses workspace for two purposes:
* A copy of the string to be matched for case insensitive matches (the
copy is set to all one case).
The default workspace sizes are usually more than large enough for
typical usages, but that depends on workspace consumption for other
purposes.
If you find that methods are failing with ``VCL_Error`` messages
indicating "out of space", consider increasing the varnishd parameters
``workspace_client`` and/or ``workspace_backend`` (see varnishd(1)).
...
...
@@ -1064,13 +1086,6 @@ and ``pcre_match_limit_recursion``, in which case they emit the same
``VCL_Error`` messages as the native operations. If necessary, adjust
these parameters as advised in varnishd(1).
AUTHOR
======
* Geoffrey Simmons <geoff@uplex.de>
UPLEX Nils Goroll Systemoptimierung
SEE ALSO
========
...
...
src/vmod_selector.vcc
View file @
2b1aa0c1
...
...
@@ -911,13 +911,31 @@ as workspace exhaustion.
LOGGING
=======
XXX ...
Both of ``.match()`` and ``.hasprefix()`` return ``false`` when the
string to be matched is NULL, typically because an unset header was
specified. Such usage may be deliberate; you might intend VCL logic to
depend on whether a header either doesn't match or does not exist. But
it may be an error, for example due to misspelling the header name.
When the string to be matched is NULL, the VMOD emits a warning to the
log with the tag ``Notice``, in this format::
vmod_selector: <obj>.<method>(): subject string is NULL
... where ``<obj>`` is the object name and ``<method>`` is either
``match`` or ``hasprefix``.
As noted above, VCL failure during request/response transactions
(after successful VCL load) is logged with an error message using the
``VCL_Error`` tag. These messages begin with the prefix ``vmod
selector failure``.
REQUIREMENTS
============
The VMOD requires Varnish since version 6.0.0, or the current master
branch.
The VMOD requires Varnish since version 6.5.0, or the current master
branch. See the source repository for versions of the VMOD that are
compatible with other versions of Varnish.
INSTALLATION
============
...
...
@@ -937,6 +955,10 @@ The VMOD uses workspace for two purposes:
* A copy of the string to be matched for case insensitive matches (the
copy is set to all one case).
The default workspace sizes are usually more than large enough for
typical usages, but that depends on workspace consumption for other
purposes.
If you find that methods are failing with ``VCL_Error`` messages
indicating "out of space", consider increasing the varnishd parameters
``workspace_client`` and/or ``workspace_backend`` (see varnishd(1)).
...
...
@@ -952,13 +974,6 @@ and ``pcre_match_limit_recursion``, in which case they emit the same
``VCL_Error`` messages as the native operations. If necessary, adjust
these parameters as advised in varnishd(1).
AUTHOR
======
* Geoffrey Simmons <geoff@uplex.de>
UPLEX Nils Goroll Systemoptimierung
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