libvmod-re:6.0 commitshttps://code.uplex.de/uplex-varnish/libvmod-re/commits/6.02021-03-16T13:12:42Zhttps://code.uplex.de/uplex-varnish/libvmod-re/commit/5239901544da3bb012040d9c339fd95c2a225a45Changed READNE formatting.2021-03-16T13:12:42ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/6d04ea3293bf23440ca7f7df8b70250f1f718b75Set version v2.5 and package for Varnish 6.0.0.2018-04-02T08:52:07ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/79324c59c7d47cd1fa8265f5d35da1979a3e4210Update RPM install for Varnish 6.0.0.2018-04-02T08:32:10ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/1096b44139e7b7e5f37a5ccc68862dc380aa5d70Doc updates and fixes.2018-04-02T07:48:31ZGeoff Simmonsgeoff@uplex.de
- We write our own SYNOPSIS.
- Update Varnish version compatibility statement.
- Remove the reference to the pcre_* varnishd params in LIMITATIONS
(no longer true).
- Spelling fixhttps://code.uplex.de/uplex-varnish/libvmod-re/commit/8640ee3ac8e5aa282ed3838633301a5163a3adf2explicit dependency from vmod_re.c to vcc_if.h2018-03-05T12:53:03ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/7ebf6b960d96a57830b8fd36105324c47a1e2ff9Update some boilerplates2018-02-27T18:18:32ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/b8e266c51790b6a8f23978fb613e6943a5c906f9Update some boilerplates2018-02-27T18:18:20ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/5d1f00cdf261699aefcabb39ffc54500aa0be6d6fix doc nit2018-02-27T18:14:19ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/7e9b317725755c972b82d103c6a0277adc9ca7dbpull vre_limits into the vmod2018-02-27T18:10:23ZNils Gorollnils.goroll@uplex.de
We cannot access the varnishd params from a $ABI vrt vmod any more
and doing so does not appear a strong enough reason to change the $ABI.
Previously, pcre limits were taken from the varnish parameters
pcre_match_limit and pcre_match_limit_recursion, now they can be
defined on the re object or match level.https://code.uplex.de/uplex-varnish/libvmod-re/commit/55a9527bd670cea87d9c51d04d91fc3007eda443need dependency from tests to vmod .so2018-02-12T18:15:08ZNils Gorollnils.goroll@uplex.de
Otherwise parallel make distcheck failshttps://code.uplex.de/uplex-varnish/libvmod-re/commit/6ba80c7862e1579a3775e2d94c13761dcc0d7598Set ABI to vrt.2017-11-28T15:31:00ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/0b9e84fbe14ff6d6cb1177b06f7450b208089aeeAdd instructions for RPM installs to INSTALL.rst.2017-11-21T10:10:43ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/c8452fb064da77cd94c7b6d2c4cef7c11e860d94Remove the AUTHORS section from the docs.2017-11-21T09:58:14ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/2fb47fa442d1c59686a75ea5c56589a78310cdcfRemove the HISTORY section from the docs.2017-11-21T09:56:44ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/627557793da69fc100813c39bd36e44c800c16baMove the INSTALLATION section of the docs into a separate file.2017-11-21T09:55:25ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/bee2cff8e0c53f887e92b371cf513735fddfe2bbAdd code to package an RPM.2017-11-20T19:40:35ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/fa0959be8e9c04737254e49f44395aa4efc3242afix2017-11-09T13:13:59ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/cf2d2d38f65df2655283ecf514fdce1a5c30c589use vre_limits bandaid2017-11-09T13:10:44ZNils Gorollnils.goroll@uplex.de
see varnish-cache aa8875a44d587bc5530554963f93fffba99efaddhttps://code.uplex.de/uplex-varnish/libvmod-re/commit/a92cfd11fb0a804d9913eb5b1d0e1e3342e0e34cChange Varnish includes as now required.2017-10-24T10:56:50ZGeoff Simmonsgeoff@uplex.de
vrt.h is included by cache.h and may not be included after it.https://code.uplex.de/uplex-varnish/libvmod-re/commit/83f748fc9f7a7774b5a725b95b950f752c3b17a3more includes required after cache.h cleanup in varnish-cache2017-09-28T13:38:09ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/ef4ff6948bbf78b8fc70bdf7955fb5d693cfe423new include order for varnish-cache master2017-09-26T10:23:13ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/a96736ac24ac76c3d2dbe032ade70a224add6cd4save one strlen()2017-05-17T10:06:12ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/fe39c7dabd82e1621cb120f3f2244b7f7e62dacfSpecifically check if the backref'ed substring lives on the workspaces2017-05-17T10:06:12ZNils Gorollnils.goroll@uplex.de
Because we don't copy the subject's terminating null byte, we can't use
strlen().
Fixes <a href="/uplex-varnish/libvmod-re/issues/4" data-original="#4" data-link="false" data-link-reference="false" data-project="8" data-issue="12" data-reference-type="issue" data-container="body" data-placement="bottom" title="WS_Assert_Allocated failing in backref() also with a339f63q" class="gfm gfm-issue has-tooltip">#4</a>https://code.uplex.de/uplex-varnish/libvmod-re/commit/103dcc71488bf950452061fbe350d43580ebc925Document the required state of the Varnish master branch.2017-05-16T12:39:43ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/2177905cec9aad3e74592d1d88f43d47f011f41eFix an off-by-one error checking the allocation of subject in task data,2017-05-16T12:36:33ZGeoff Simmonsgeoff@uplex.deand don't work around the previous off-by-one error in WS_Assert_Allocated
any more.
Fixes <a href="/uplex-varnish/libvmod-re/issues/3" data-original="#3" data-link="false" data-link-reference="false" data-project="8" data-issue="11" data-reference-type="issue" data-container="body" data-placement="bottom" title="WS_Assert_Allocated() failing in backref()" class="gfm gfm-issue has-tooltip">#3</a> for master.https://code.uplex.de/uplex-varnish/libvmod-re/commit/2c1428334cb9120e723475c31b99d4e0f58e63cbRevert "Fix an off-by-one when copying the subject to the workspace"2017-05-16T11:46:50ZGeoff Simmonsgeoff@uplex.de
This reverts commit <a href="/uplex-varnish/libvmod-re/commit/bf2b7a7830968dafe66e495bbb80ec867dfc476c" data-original="bf2b7a7830968dafe66e495bbb80ec867dfc476c" data-link="false" data-link-reference="false" data-project="8" data-commit="bf2b7a7830968dafe66e495bbb80ec867dfc476c" data-reference-type="commit" data-container="body" data-placement="bottom" title="Fix an off-by-one when copying the subject to the workspace" class="gfm gfm-commit has-tooltip">bf2b7a78</a>.
There are actually two off-by-one errors, one in WS_Assert_Allocated(),
and another in the use of -1 to have WS_Assert_Allocated() compute
the size of the string, including the null terminator.
We don't need the subject with the null terminator in the ov_t
structure (PRIV_TASK data), because we just need it to get backrefs
from the indices in the ov vector returned from pcre.
Also, there's a system in the VTC tests that may not be obvious.
The b*.vtc tests are about regex matching, c*.vtc for backrefs.https://code.uplex.de/uplex-varnish/libvmod-re/commit/bf2b7a7830968dafe66e495bbb80ec867dfc476cFix an off-by-one when copying the subject to the workspace2017-05-16T09:43:06ZNils Gorollnils.goroll@uplex.de
and add a test for it
Fixes <a href="/uplex-varnish/libvmod-re/issues/3" data-original="#3" data-link="false" data-link-reference="false" data-project="8" data-issue="11" data-reference-type="issue" data-container="body" data-placement="bottom" title="WS_Assert_Allocated() failing in backref()" class="gfm gfm-issue has-tooltip">#3</a>https://code.uplex.de/uplex-varnish/libvmod-re/commit/6d85d03b2070cee2b5e50555c762c52e5ea13310Fix a leak in match_dyn, spotted by Greg Bock.2017-05-13T12:13:42ZGeoff Simmonsgeoff@uplex.deCloses <a href="/uplex-varnish/libvmod-re/issues/2" data-original="#2" data-link="false" data-link-reference="false" data-project="8" data-issue="10" data-reference-type="issue" data-container="body" data-placement="bottom" title="vmod_regex_match_dyn appears to leak memory" class="gfm gfm-issue has-tooltip">#2</a>https://code.uplex.de/uplex-varnish/libvmod-re/commit/b994b9a569accbfdf5b488f950c24440055e5d96Use the WS_ interface to check allocations.2017-05-11T21:16:50ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/8f7a85180dc0b5454ff9253d808968ab58b1e4e6Don't copy the subject string if it's already in workspace.2017-05-11T20:58:04ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/b0c33f72dadd20edd5f290caf2264da47f8e8a0dThe problem of using vre limits from the Varish params is finally fixed.2017-05-11T20:44:41ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/7def7624599526a1980694b2181a08620f91e3f8Compilation failures cause the VCL load to fails; CHANGES THE INTERFACE.2017-05-11T20:40:29ZGeoff Simmonsgeoff@uplex.deThe .failed() and .error() methods have been removed.https://code.uplex.de/uplex-varnish/libvmod-re/commit/1d119a298551f3fe6eaa158061d7817aae4b0b85Remove some code that is unnecessary since we don't use pthread keys.2017-05-11T20:10:56ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/26f3394ebfee66b996a4fbe18d61601824d6874dUse PRIV_TASK instead of pthread keys; THIS CHANGES THE INTERFACE.2017-05-11T20:03:45ZGeoff Simmonsgeoff@uplex.deThe .match_dyn method has been removed, in its place we have the
functions match_dyn and backref_dyn.
Closes <a href="/uplex-varnish/libvmod-re/issues/1" data-original="#1" data-link="false" data-link-reference="false" data-project="8" data-issue="1" data-reference-type="issue" data-container="body" data-placement="bottom" title="AZ(pthread_key_create) fails if Varnish has been running long enough" class="gfm gfm-issue has-tooltip">#1</a>https://code.uplex.de/uplex-varnish/libvmod-re/commit/b01518a14fe8b5e08fdcd6f42428a4159bed9fb8Don't crash regex object finalization when the object is NULL,2017-05-11T11:35:02ZGeoff Simmonsgeoff@uplex.defor example if there was an error initializing the object.https://code.uplex.de/uplex-varnish/libvmod-re/commit/67f43312027dd47027f68cbc4da70678e0b0aeb9Document compatibility with Varnish 5.1.2017-03-21T19:30:58ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/9204e61b85cfef039313a72c1e11de2681f5de6cupdate expect regexp quote2017-02-21T17:03:54ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/952d9f6f64bfad5b55ff1bd820133c3213c4b3c9set path for varnishtest to find varnishd2017-02-21T16:49:23ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/fd1c99ec402edc2e2a8146471a6de33b33fa33aews snapshot signature changed in master - reason to branch 5.02017-02-17T13:08:26ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re/commit/6c353eaa6cacf226fcc608ca1a2503079e318834fix include order for current master2017-02-09T12:44:40ZNils Gorollnils.goroll@uplex.de
required since 81bc4cef2a5e651a9e34ae5400672a88663db7ef