MINOR: config: tolerate server "cookie" setting in non-HTTP mode
authorWilly Tarreau <w@1wt.eu>
Mon, 31 Oct 2011 12:49:26 +0000 (13:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 31 Oct 2011 13:09:13 +0000 (14:09 +0100)
commit0cec331a0e08a875171c235cb02a202fee190a4e
tree7e1ac350008ec15af65e09db3c19ee83c074a2e7
parent2e99390fafd576ca04265e32f7fb8d6b209252d5
MINOR: config: tolerate server "cookie" setting in non-HTTP mode

Up to now, if a cookie value was specified on a server when the proxy was
in TCP mode, it would cause a fatal error. Now we only report a warning,
since the cookie will be ignored. This makes it easier to generate configs
from scripts.
src/cfgparse.c