]> git.kaiwu.me - 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:30:48 +0000 (14:30 +0100)
commit11997b81ccea51b13e9deefa01684190496bca02
treec8e0695943c47482e0b02cf5b6f857e65257a020
parent0e21b201e6892c25e8264e43ceb12fed6d0c5e82
[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