]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] appsession: add "len", "prefix" and "mode" options
authorCyril Bonté <cyril.bonte@free.fr>
Sun, 29 Nov 2009 19:04:48 +0000 (20:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Nov 2009 10:31:53 +0000 (11:31 +0100)
commitb21570ae0f5024b86b72762a519972fbce5b307e
treefff5acaf051b84ca7357d72dd342e00c79b1d8fc
parentfa355d4a51072ef2f0bc37147d7048e6b758cab0
[MEDIUM] appsession: add "len", "prefix" and "mode" options

To sum up :
- len : it's now the max number of characters for the value, preventing
  garbaged results.
- a new option "prefix" is added, this allows to use dynamic cookie
  names (e.g. ASPSESSIONIDXXX).

Previously in the thread, I wanted to use the value found with
"capture cookie" but when i started to update the documentation, I
found this solution quite weird. I've made a small rework to not
depend on "capture cookie".

- There's the posssiblity to define the URL parser mode (path parameters
  or query string).
doc/configuration.txt
include/proto/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/proto_http.c