[master] b02c78438 PRIV_TASK vtc: tolerate fini order

Nils Goroll nils.goroll at uplex.de
Tue Jan 12 18:41:09 UTC 2021


On 12/01/2021 18:41, Nils Goroll wrote:
> On 12/01/2021 18:23, Dridi Boukelmoune wrote:
>> Feature idea, logexpect undefined order:
>>
>>     expect ? =    Debug             ^priv_task_free
>>     expect ? =    Debug             ^obj_priv_task_fini
>>
>> The "?" token would mean that consecutive expect statements using it
>> could appear in a non-deterministic order.
>>
>> Thoughts?
> 
> great idea! The end result would be the same as the regex with alternation, but
> it would look _much_ cleaner.

Actually, no, it would not be the same. Only the proposed solution could ensure
that we see the required number of matches per line.


-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753

xmpp://slink@jabber.int.uplex.de/

http://uplex.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20210112/fbeb02e0/attachment.bin>


More information about the varnish-commit mailing list