haproxy/include/common
Krzysztof Piotr Oledzki efe3b6f524 [MINOR] Allow to specify a domain for a cookie
This patch allows to specify a domain used when inserting a cookie
providing a session stickiness. Usefull for example with wildcard domains.

The patch adds one new variable to the struct proxy: cookiedomain.
When set the domain is appended to a Set-Cookie header.

Domain name is validated using the new invalid_domainchar() function.
It is basically invalid_char() limited to [A-Za-z0-9_.-]. Yes, the test
is too trivial and does not cover all wrong situations, but the main
purpose is to detect most common mistakes, not intentional abuses.

The underscore ("_") character is not RFC-valid but as it is
often (mis)used so I decided to allow it.
2008-05-25 10:09:02 +02:00
..
appsession.h [MAJOR] remove files distributed under an obscure license 2007-09-09 21:56:53 +02:00
base64.h
cfgparse.h [MEDIUM]: Inversion for options 2007-12-27 11:52:06 +01:00
compat.h [BUILD] fix build with gcc 4.3 2008-04-21 07:35:00 +02:00
config.h [MEDIUM] implement memory pools version 2 2007-05-13 18:26:08 +02:00
debug.h
defaults.h [MAJOR] proto_uxst rework -> SNMP support 2008-03-04 06:32:16 +01:00
eb32tree.h [MEDIUM] upgrade to ebtree v4.0 2008-05-16 19:48:20 +02:00
eb64tree.h [MEDIUM] upgrade to ebtree v4.0 2008-05-16 19:48:20 +02:00
ebpttree.h [MEDIUM] upgrade to ebtree v4.0 2008-05-16 19:48:20 +02:00
ebtree.h [MEDIUM] upgrade to ebtree v4.0 2008-05-16 19:48:20 +02:00
epoll.h [BUILD] declare epoll_* as static when using our own functions 2007-04-15 23:57:41 +02:00
errors.h [MINOR] add an options field to the listeners 2007-11-04 22:42:48 +01:00
memory.h [MAJOR] call garbage collector when doing soft stop 2007-05-14 00:39:29 +02:00
mini-clist.h [CLEANUP] silent warning about LIST_* being redefined on OpenBSD 2007-10-28 11:41:06 +01:00
rbtree.h
regex.h
sessionhash.h [MAJOR] remove files distributed under an obscure license 2007-09-09 21:56:53 +02:00
standard.h [MINOR] Allow to specify a domain for a cookie 2008-05-25 10:09:02 +02:00
template.h
time.h [BUILD] fix 2 minor issues on AIX 2007-11-30 18:38:35 +01:00
tools.h
uri_auth.h [MINOR] report haproxy's version by default on the stats page 2007-10-15 10:05:11 +02:00
version.h [BUILD] centralize version and date into one file for each 2007-09-09 23:31:11 +02:00