commit | 1b0d4d19fc9ad130fe27f2f989a4b7b8ee97a5fb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 16 11:03:19 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 17 18:30:36 2020 +0100 |
tree | fc2af9ed3ba15a35b86a6d3ed70a220859a43ad6 | |
parent | 113d52bfb428b4aaefb1e3e647d41ff461352b41 [diff] |
MEDIUM: mux-h1: merge recv_wait and send_wait This is the same principle as previous commit, but for the H1 mux this time. The checks in the subscribe()/unsubscribe() calls were factored and some BUG_ON() were added to detect unexpected cases. h1_wake_for_recv() and h1_wake_for_send() needed to be refined to consider the current subscription before deciding to wake up.