]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: checks: make use of the connection layer to send checks
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Sep 2012 12:40:02 +0000 (14:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 22:33:14 +0000 (00:33 +0200)
commitfb56aab4431630f3a4345632140d962e8065c42a
tree47c893203c42689017b0de3adedc518e138819be
parent5f1504f5244e8adc0081e7c803f94e6eb3b15b38
MAJOR: checks: make use of the connection layer to send checks

This is a first step, we now use the connection layer without the data
layers (send/recv are still used by hand). The connection is established
using tcp_connect_server() and raw_sock is assumed and forced for now.

fdtab is not manipulated anymore and polling is managed via the connection
layer.

It becomes quite clear that the server needs a second ->ctrl and ->xprt
dedicated to the checks.
src/cfgparse.c
src/checks.c