blob: 8956a47652de291363b85e5f433041eaf1bcc3cf [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
16 0 1 0 0 1 !! prefix on request, remove reponse cookie if not needed
17 * 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