commit | c95eaefbfd45ae2ed47d1181a7c9179d7742a01b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed May 18 15:57:15 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu May 19 10:12:38 2022 +0200 |
tree | 2490b7997ab8cde0a0ae46e485c8ace02f417eda | |
parent | 361417f9b4971433d445fcbf7a5c4efe598f2df8 [diff] |
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().