libvmod-re2:v1.8.0 commitshttps://code.uplex.de/uplex-varnish/libvmod-re2/commits/v1.8.02019-10-08T16:24:32Zhttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/0fcf333336de1e7f503ee343d7e5ff41ffa402ccSet version 1.8.0 and update RPM packaging for Varnish 6.3.0.2019-10-08T16:24:32ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/df50e8d6edcb9002df40b23718e9f3132d7483b0Some improvements in the RPM packaging script.2019-10-08T16:22:55ZGeoff Simmonsgeoff@uplex.de
- Install package epel-release to get the EPEL repo (rather than
using a fixed URL).
- yum makecache fast to speed up all repo caches.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/72b3551c15ce6c4d95bcb47c8fa6c54da73fc748Require 6.3.0 for the build.2019-10-08T16:21:14ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/5c259a918c0299d86ebf761db636991dc1defaafUpdate README due to internal rst changes.2019-10-08T15:57:30ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/07d677aa3f498a943381208054ed87c0e0f425d3Add set.hdr_filter().2019-08-29T21:09:58ZGeoff Simmonsgeoff@uplex.de
This necessitates adding the matchonly() method to the vre2set
interface, which only checks for matches, and does not save the
indices of matching elements. It also requires a length parameter
(since headers in struct http are not null-terminated).
It also requires the return of the configure-time check for whether
the RE2::Set::Match() method can be called with a NULL vector for
the indices.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/c7e8f60a4a1b6aac7f1ab5b3832902049bfaf299Add the integer parameter to set.add(), and the set.integer() method.2019-08-23T11:57:27ZGeoff Simmonsgeoff@uplex.de
Also update set.saved(), to enable checking if an integer was saved.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/b8a93178869f413a0b653ed95d92d143f5c90e37Add some advice about using gdb to CONTRIBUTING.2019-08-22T15:06:45ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/2fe2188314cd13c6697d1272254c36184e69bcd5Update docs concerning the out-of-memory error for set matches.2019-06-25T13:01:15ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/de726e751e716593c3c7132fdeced5cef66d472dRemove the DFA out-of-memory tests for sets.2019-06-25T12:44:15ZGeoff Simmonsgeoff@uplex.de
re2 no longer does that since commit
848dfb7e1d7ba641d598cb66f81590f3999a555a.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/16ada9ed7cdb6417458b5e3882d443c1c5521da9Update installation instructions for RPMs.2019-04-16T13:32:19ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/550ea36746b19cb46e44a424abb6cc74cd8ea5daUpdate REQUIREMENTS.2019-04-16T13:29:43ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/a5e1865a026d3fdebc2790ced1930f78c55220c7change WS_Reserve2019-04-15T15:16:22ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/c9bf65340ad08e87aa24a57ae5f9d2a78014a385fix forgotten WS_Release() calls for failing WS_Reserve()2019-04-07T13:01:57ZNils Gorollnils.goroll@uplex.de
This should hopefully fix a panic which has to be caused by forgotten
WS_Release() calls and which occurred close to VCL code which handles
re2 sets.
Redacted panic:
Panic at: Fri, 05 Apr 2019 19:15:24 GMT
Assert error in WS_Reserve(), cache/cache_ws.c line 236:
Condition(ws->r == NULL) not true.
version = varnish-trunk revision af2bad23deb2470533158f9d99ad3f4968b8d231, vrt api = 9.0
ident = Linux,3.13.0-137-generic,x86_64,-junix,-smalloc,-sdefault,-hcritbit,epoll
now = 3999664.335146 (mono), 1554491669.714933 (real)
Backtrace:
0x43c1bb: /usr/sbin/varnishd() [0x43c1bb]
0x49e182: /usr/sbin/varnishd(VAS_Fail+0x42) [0x49e182]
0x45d1ac: /usr/sbin/varnishd() [0x45d1ac]
0x44d792: /usr/sbin/varnishd(VRT_String+0x22) [0x44d792]
0x44de66: /usr/sbin/varnishd(VRT_SetHdr+0xf6) [0x44de66]
...(redacted for customer proprietary information)
See also <a href="https://github.com/varnishcache/varnish-cache/issues/2967" rel="nofollow noreferrer noopener" target="_blank">https://github.com/varnishcache/varnish-cache/issues/2967</a>
for a general discussion regarding an inconsistency in the WS_Reserve()
interfacehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/5e9690dd59f6736ccada9c2b1697280440845fd9Declare std::string in C++ code, since re2.h has stopped doing so.2019-03-18T15:43:39ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/1af824d40fbe308afe13b17f7c2c8f358c03fbfeBack to trunk.2019-03-18T15:43:21ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/dd95dca91c60d4acb412ff2f35da81639fdf4b20Use VRT_fail() for failures in vcl_init, as now required by Varnish.2019-03-07T15:57:54ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/e5466e9831447115c2dfc30cf5e0b585284680c0adjust to vmodtool changes in master2019-02-05T11:48:02ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/7f0cf6fe492f8cfcd7e7c7b563ad31ef18c08e6cdocumentation auto-update from vmodtool change2019-02-05T11:48:02ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/3e08d60e36b71d30398a5a7799b9fa2ccea1fbadAdjust to new event function default name in varnish-cache master2019-02-02T14:05:36ZNils Gorollnils.goroll@uplex.de
Ref d8ae26b5a0b4a1102360a61a145e4730e52d68bchttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/219a30aceb7202f4bd651aa3da0d564bfb6287a4documentation auto-update from vmodtool change2019-02-02T14:05:30ZNils Gorollnils.goroll@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/87da251a3d2cd50a680f236e1889fb81d2248536Version 1.6.1, packages for VRT 8 (Varnish 6.1 & libvarnish.so.2).2018-12-03T10:05:45ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/009612331433946f8120041b1a8811c1220167d4Update REQUIREMENTS statement in the docs.2018-12-03T09:45:21ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/2158dd62d05f0f5f9b6418262a9bdfb0fc9c8c28Require at least Varnish 6.1.0 for the build.2018-12-03T09:31:45ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/72b04b02a939b28582d6c569d4ec8d786dd04599Set the varnishtest timeout (for 'make check') to 120s.2018-12-03T09:23:09ZGeoff Simmonsgeoff@uplex.de
compile_fail.vtc evidently takes longer than 60s when run in a
docker container.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/6d03b3eaf111534f099a9682d582e2bb97e98610Update README to reflect new auto-doc formatting.2018-12-03T09:09:55ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/e4c932c3aa5921aeeecce85249cd6ca2190474d9Quote the Module description in vcc, as the vmodtool now prefers.2018-12-03T09:09:26ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/2bf238be6151a0ea84d2ef296062842228741c3dFix another Makefile dependency (needed for make -j distcheck).2018-12-03T09:08:32ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/5ebf9e1a5c58f3350fb7961d7b0accabc5089a70Fix Makefile dependencies.2018-12-03T08:57:56ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/8e0615b334afafc945311524bb771716b1b55becRPM build is based on Varnish 6.1.2018-10-03T16:40:32ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/ed3c3acf6e6ccf50ac0562126af37e1e03ead2dfRPM builds run make -j.2018-10-03T16:35:21ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/f972834099eead96a2843722a1043a32205c416aRequire ABI compatibility.2018-10-03T16:32:37ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/c116dc3eeaa385c725e405f4a443e60f59ac0ac9Add the cost() function.2018-07-17T13:08:36ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/acb39222884276d0ce2fee95f3e6f4800006c0cdAdd an example to the .cost() documentation.2018-07-17T11:47:19ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/12719aa3c73327eb05a898afbce01ac703cfdaf4Add the .cost() method.2018-07-17T11:43:06ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/bdcdc92185b9c07740737d6d73aefb0320368f65Handle VRT_priv_task errors gracefully2018-07-03T14:35:17ZNils Gorollnils.goroll@uplex.de
The reason is the same as for
<a href="https://github.com/varnishcache/varnish-cache/issues/2708" rel="nofollow noreferrer noopener" target="_blank">https://github.com/varnishcache/varnish-cache/issues/2708</a> :
VRT_priv_task may now return NULL for out-of-workspace errors, see
<a href="https://github.com/varnishcache/varnish-cache/commit/de2b431086a13b243dc8b3e71cd8697db1df2c7f" rel="nofollow noreferrer noopener" target="_blank">https://github.com/varnishcache/varnish-cache/commit/de2b431086a13b243dc8b3e71cd8697db1df2c7f</a>https://code.uplex.de/uplex-varnish/libvmod-re2/commit/a83014a081e34d46c9abfbe06fcb7bb1edf9e680Typo2018-06-07T10:58:42ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/e722851ad7911f26b72bb66ed445150da8b2112dAdd the quotemeta() function.2018-06-07T10:55:50ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/802506c4f1f837e997e5bc85a22de9a5b4e19550Use the Set::Match() version with ErrorInfo from RE2, if available.2018-06-06T16:45:47ZGeoff Simmonsgeoff@uplex.de
If RE2 reports the "DFA out-of-memory" condition for a failed set
match, the VMOD reports the error as well.https://code.uplex.de/uplex-varnish/libvmod-re2/commit/f1241cf82d1e006e5deece0905ac6e06c1d309baAdd the set.saved() method.2018-06-06T09:00:01ZGeoff Simmonsgeoff@uplex.dehttps://code.uplex.de/uplex-varnish/libvmod-re2/commit/7c34b94fde427feba36ee156fc7f6bf9744defabAdd the set.extract() method.2018-06-05T14:57:44ZGeoff Simmonsgeoff@uplex.de