]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: move the "bind" TCP parameters to proto_tcp
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2012 21:27:21 +0000 (23:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Sep 2012 20:33:16 +0000 (22:33 +0200)
commit4479124cdafa148681e09c229b2decac8dcb16f6
treeebfea6dcf8d20d1ad01c19b6a02cf03bc1caab68
parent269826659d4cbb161cd11160dc14a3d7ffb4ed35
MEDIUM: config: move the "bind" TCP parameters to proto_tcp

Now proto_tcp.c is responsible for the 4 settings it handles :
  - defer-accept
  - interface
  - mss
  - transparent

These ones do not need to be handled in cfgparse anymore. If support for a
setting is disabled by a missing build option, then cfgparse correctly
reports :

  [ALERT] 255/232700 (2701) : parsing [echo.cfg:114] : 'bind' : 'transparent' option is not implemented in this version (check build options).
src/cfgparse.c
src/proto_tcp.c