]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-fcgi: merge recv_wait and send_wait event notifications
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Jan 2020 16:55:37 +0000 (17:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Jan 2020 17:30:37 +0000 (18:30 +0100)
commit8907e4ddb876b638c6c990015211b5727fe63556
tree18417de134c628db31b943a9d1ede6bac95e838f
parentf96508aae6b49277dcf142caa35042678cf8e2ca
MEDIUM: mux-fcgi: merge recv_wait and send_wait event notifications

This is the last of the "recv_wait+send_wait merge" patches and is
functionally equivalent to previous commit "MEDIUM: mux-h2: merge
recv_wait and send_wait event notifications" but for FCGI this time.
The principle is pretty much the same, since the code is very similar.
We use a single wait_event for both recv and send and rely on the
subscribe flags to know the desired notifications.
src/mux_fcgi.c