commit | 72f073b6c7478e6846dfe67eedb1642af45c4562 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Apr 29 17:53:47 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 29 19:15:24 2015 +0200 |
tree | ddd6de8440475d1b9bf205f95cdef2e9292681e5 | |
parent | b5684e00811fe3121a86ab3bbdae64c205968ae1 [diff] |
MEDIUM: pattern: add a revision to all pattern expressions This will be used to detect any change on the pattern list between two operations, ultimately making it possible to implement a cache which immediately invalidates obsolete keys after an update. The revision is simply taken from the timestamp counter to ensure that even upon a pointer reuse we cannot accidently come back to the same (expr,revision) tuple.