libvmod-selector 2.6.0-1 source package in Ubuntu
Changelog
libvmod-selector (2.6.0-1) unstable; urgency=low * Initial release (Closes: #1001418). -- Michael Fladischer <email address hidden> Thu, 30 Dec 2021 12:11:13 +0000
Upload details
- Uploaded by:
- Varnish Package Maintainers
- Uploaded to:
- Sid
- Original maintainer:
- Varnish Package Maintainers
- Architectures:
- any
- Section:
- misc
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Jammy | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libvmod-selector_2.6.0-1.dsc | 1.9 KiB | 2cd0e290824e4d45f1568d4935173e34c10ff314bb2799e3ba41dd68b66383a7 |
libvmod-selector_2.6.0.orig.tar.bz2 | 359.8 KiB | c7060ac47f75208d87d6284b183ea95073fb3b60bd9373c9bb6d1fcf54ce0ad6 |
libvmod-selector_2.6.0-1.debian.tar.xz | 4.3 KiB | ec4f3cd335267475dfcb19d9232228c291013f2a9763cdf823216687f204bad3 |
No changes file available.
Binary packages built by this source
- varnish-selector: match strings with backends, regexen and other strings
Varnish Module (VMOD) for matching strings against sets of fixed
strings. A VMOD object may also function as an associative array,
mapping the matched string to one or more of a backend, another
string, an integer, or a regular expression. The string may also map
to a subroutine that can be invoked.
.
The VMOD is intended to support a variety of use cases that are
typical for VCL deployments, such as:
.
* Determining the backend based on the Host header or the prefix of
the URL.
* Rewriting the URL or a header.
* Generating redirect responses, based on a header or the URL.
* Permitting or rejecting request methods.
* Matching the Basic Authentication credentials in an Authorization
request header.
* Matching media types in the Content-Type header of a backend
response to determine if the content is compressible.
* Accessing data by string match, as in an associative array, or by
numeric index, as in a standard array.
* Dispatching subroutine calls based on string matches.
* Executing conditional logic that depends on features of the request
or response that can be determined by matching headers or URLs.
.
Operations such as these are commonly implemented in native VCL with
an if-elsif-elsif sequence of string comparisons or regex matches.
As the number of matches increases, such a sequence becomes cumbersome
and scales poorly -- the time needed to execute the sequence increases
with the number of matches to be performed.
With the VMOD, the strings to be matched are declared in a tabular
form in vcl_init, and the operation is executed in a few lines.
- varnish-selector-dbgsym: debug symbols for varnish-selector