]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] config: replace 'tcp-request <action>' with "tcp-request connection"
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Aug 2010 13:08:45 +0000 (15:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 16:04:15 +0000 (18:04 +0200)
commit68c03aba9e2793049ed711a25a5df0f18a28f380
treee1405901ffd5eaea398ba334b9c6bbda3d8c79d5
parentf6efda11891078ed8d2eb747e5cfed62a7c764ec
[MEDIUM] config: replace 'tcp-request <action>' with "tcp-request connection"

It began to be problematic to have "tcp-request" followed by an
immediate action, as sometimes it was a keyword indicating a hook
or setting ("content" or "inspect-delay") and sometimes it was an
action.

Now the prefix for connection-level tcp-requests is "tcp-request connection"
and the ones processing contents remain "tcp-request contents".

This has allowed a nice simplification of the config parser and to
clean up the doc a bit. Also now it's a bit more clear why tcp-request
connection are not allowed in backends.
doc/configuration.txt
src/proto_tcp.c