[MINOR] cookie: add the expired (E) and old (O) flags for request cookies
These flags will indicate the cookie status when an expiration date is
set.
(cherry picked from commit 3f0f0e4583a432d34b75bc7b9dd2c756b4e181a7)
diff --git a/include/types/proto_http.h b/include/types/proto_http.h
index eebafc5..5ee2e0f 100644
--- a/include/types/proto_http.h
+++ b/include/types/proto_http.h
@@ -41,6 +41,8 @@
#define TX_CK_INVALID 0x00000020 /* this session had a cookie which matches no server */
#define TX_CK_DOWN 0x00000040 /* this session had cookie matching a down server */
#define TX_CK_VALID 0x00000060 /* this session had cookie matching a valid server */
+#define TX_CK_EXPIRED 0x00000080 /* this session had an expired cookie (idle for too long) */
+#define TX_CK_OLD 0x000000A0 /* this session had too old a cookie (offered too long ago) */
#define TX_CK_MASK 0x000000E0 /* mask to get this session's cookie flags */
#define TX_CK_SHIFT 5 /* bit shift */