]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: store the default target into the frontend's configuration
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 14:55:16 +0000 (15:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 15:23:00 +0000 (16:23 +0100)
commitf87ab94e3b5e30e99aafea24ee28106f61400d4b
tree3c6983615079080dd51a87dfa043549b5153f97c
parent91d9628a51c1dcfea0a07027a98be8f5c73e453c
MINOR: proxy: store the default target into the frontend's configuration

Some services such as peers and CLI pre-set the target applet immediately
during accept(), and for this reason they're forced to have a dedicated
accept() function which does not even properly follow everything the regular
one does (eg: sndbuf/rcvbuf/linger/nodelay are not set, etc).

Let's store the default target when known into the frontend's config so that
it's session_accept() which automatically sets it.
include/types/proxy.h
src/dumpstats.c
src/peers.c
src/session.c