[MINOR] add the "ignore-persist" option to conditionally ignore persistence
authorCyril Bonté <cyril.bonte@free.fr>
Sat, 24 Apr 2010 22:00:51 +0000 (00:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 25 Apr 2010 20:37:14 +0000 (22:37 +0200)
commit47fdd8e993830ba1bc9cd9a9624379563f744b49
tree3c77eb129ecef6c380c6a3f95dca93ae5e155fa4
parentb94af61901fb24600c3d46633a9bf33655a6cc64
[MINOR] add the "ignore-persist" option to conditionally ignore persistence

This is used to disable persistence depending on some conditions (for
example using an ACL matching static files or a specific User-Agent).
You can see it as a complement to "force-persist".

In the configuration file, the force-persist/ignore-persist declaration
order define the rules priority.

Used with the "appsesion" keyword, it can also help reducing memory usage,
as the session won't be hashed the persistence is ignored.
include/types/proto_http.h
include/types/proxy.h
include/types/session.h
src/cfgparse.c
src/proto_http.c
src/session.c