haproxy/doc
Cyril Bonté 197538f56e [CLEANUP] Keep in sync "defaults" support between documentation and code
Hi Willy,

I've made a quick pass on the "defaults" column in the Proxy keywords matrix (chapter 4.1. in the documentation).
This patch resyncs the code and the documentation. I let you decide if some keywords that still work in the "defaults" section should be forbidden.

- default_backend : in the matrix, "defaults" was not supported but the keyword details say it is.
Tests also shows it works, then I've updated the matrix.

- capture cookie : in the keyword details, we can read `It is not possible to specify a capture in a "defaults" section.'.
Ok, even if the tests worked, I've added an alert in the configuration parser (as it is for capture request/response header).

- description : not supported in "defaults", I added an alert in the parser.
I've also noticed that this keyword doesn't appear in the documentation.
There's one "description" entry, but for the "global" section, which is for a different use (the patch doesn't update the documentation).

- grace : even if this is maybe useless, it works in "defaults". Documentation is updated.
- redirect : alert is added in the parser.
- rsprep : alert added in the parser.

--
Cyril Bonté

(cherry picked from commit 99ed327d62)
2010-01-28 23:16:58 +01:00
..
design-thoughts [DOC] added some docs about http headers storage and acls 2007-04-01 09:44:10 +02:00
internals [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO 2008-11-23 17:23:07 +01:00
acl.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
architecture.txt [MINOR] add X-Original-To: header 2009-05-01 16:22:33 +02:00
configuration.txt [CLEANUP] Keep in sync "defaults" support between documentation and code 2010-01-28 23:16:58 +01:00
gpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
haproxy-en.txt [DOC] add a reminder about obsolete documents 2009-10-14 20:40:55 +02:00
haproxy-fr.txt [DOC] add a reminder about obsolete documents 2009-10-14 20:40:55 +02:00
haproxy.1 [DOC] trivial fix for man page 2009-10-14 21:13:32 +02:00
lgpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
queuing.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
tcp-splicing.txt [MAJOR] complete support and doc for tcp-splicing 2007-01-07 02:03:04 +01:00