[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.
diff --git a/include/types/session.h b/include/types/session.h
index 94bb5d5..daf2619 100644
--- a/include/types/session.h
+++ b/include/types/session.h
@@ -81,6 +81,8 @@
#define SN_FINST_SHIFT 16 /* bit shift */
/* unused: 0x00080000 */
+#define SN_IGNORE_PRST 0x00100000 /* ignore persistence */
+
/* WARNING: if new fields are added, they must be initialized in event_accept()
* and freed in session_free() !
*/