]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: check: Use the CS to handle subscriptions for read/write events
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 May 2022 13:57:15 +0000 (15:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 May 2022 08:12:38 +0000 (10:12 +0200)
commitc95eaefbfd45ae2ed47d1181a7c9179d7742a01b
tree2490b7997ab8cde0a0ae46e485c8ace02f417eda
parent361417f9b4971433d445fcbf7a5c4efe598f2df8
MEDIUM: check: Use the CS to handle subscriptions for read/write events

Instead of using the health-check to subscribe to read/write events, we now
rely on the conn-stream. Indeed, on the server side, the conn-stream's
endpoint is a multiplexer. Thus it seems appropriate to handle subscriptions
for read/write events the same way than for the streams. Of course, the I/O
callback function is not the same. We use srv_chk_io_cb() instead of
cs_conn_io_cb().
include/haproxy/check-t.h
src/check.c
src/conn_stream.c
src/tcpcheck.c