[MEDIUM] cookie: support client cookies with some contents appended to their value
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2010 17:25:55 +0000 (19:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:32 +0000 (19:04 +0200)
commitbca9969daf2a491fdac59056489cbc4add8ed7bf
tree8f32c77bda39b32f76e9425fa0044311f05732fe
parent3193685865c95c43cfbf1f26b70af8678e9b1bd3
[MEDIUM] cookie: support client cookies with some contents appended to their value

In all cookie persistence modes but prefix, we now support cookies whose
value is suffixed with some contents after a vertical bar ('|'). This will
be used to pass an optional expiration date. So as of now we only consider
the part of the cookie value which is used before the vertical bar.
(cherry picked from commit a4486bf4e5b03b5a980d03fef799f6407b2c992d)
include/common/defaults.h
src/proto_http.c