blob: b3badf389a006e7114b6ec137ac42ff10df7652b [file] [log] [blame]
Willy Tarreau8263b912011-09-05 01:04:44 +020012011/04/13 : List of possible cookie settings with associated behaviours.
2
3PSV="preserve", PFX="prefix", INS="insert", REW="rewrite", IND="indirect"
40 = option not set
51 = option is set
6* = option doesn't matter
7
8PSV PFX INS REW IND Behaviour
9 0 0 0 0 0 passive mode
10 0 0 0 0 1 passive + indirect : remove response if not needed
11 0 0 0 1 0 always rewrite response
12 0 0 1 0 0 always insert or replace response
13 0 0 1 0 1 insert + indirect : remove req and also resp if not needed
14 * * 1 1 * [ forbidden ]
15 0 1 0 0 0 prefix
Joseph Herlant71b4b152018-11-13 16:55:16 -080016 0 1 0 0 1 !! prefix on request, remove response cookie if not needed
Willy Tarreau8263b912011-09-05 01:04:44 +020017 * 1 * 1 * [ forbidden ]
18 * 1 1 * * [ forbidden ]
19 * * * 1 1 [ forbidden ]
20 1 * 0 * 0 [ forbidden ]
21 1 0 0 0 1 passive mode (alternate form)
22 1 0 1 0 0 insert only, and preserve server response cookie if any
23 1 0 1 0 1 conditional insert only for new requests
24 1 1 0 0 1 prefix on requests only (passive prefix)
25