]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] make default_backend work in TCP mode too
authorWilly Tarreau <w@1wt.eu>
Sat, 3 Nov 2007 13:28:39 +0000 (14:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 3 Nov 2007 13:28:39 +0000 (14:28 +0100)
commita7e76142a1b9aae2ba91098c3ead6af3e1399467
tree0c2cda5537498bb3d3ce40d1200933fa9df3d981
parent0173280bfaae091b8ca5f046aad8ed4396facb5e
[MEDIUM] make default_backend work in TCP mode too

The default_backend did not work in TCP mode since there was no
header state to assign the backend. This causes much trouble when
configs are created by copy-paste.

The solution was to fix the way the backend is assigned upon accept().
A wrong contimeout assignment was fixed too.
src/client.c
tests/test-retries.cfg