]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] cookie: check for maxidle and maxlife for incoming dated cookies
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Oct 2010 18:06:11 +0000 (20:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:33 +0000 (19:04 +0200)
commitf64d1410fc5391283313b38706a923c9fb0e7d7b
tree69472a96782d11e2bc96b800575fefc145f81a19
parentc01062beadca35d065088d397bbad1afd01c4b7e
[MEDIUM] cookie: check for maxidle and maxlife for incoming dated cookies

If a cookie comes in with a first or last date, and they are configured on
the backend, they're checked. If a date is expired or too far in the future,
then the cookie is ignored and the specific reason appears in the cookie
field of the logs.
(cherry picked from commit faa3019107eabe6b3ab76ffec9754f2f31aa24c6)
include/types/proto_http.h
src/proto_http.c