commit | 4596fb7056ae59e918537af046aed287f169226c | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Jan 11 14:05:19 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 09 15:32:55 2017 +0100 |
tree | 468c6503179e50ef1961ca8733ae1120385cc324 | |
parent | a21b064f819d69c988b5d3c2a289b81f2776d9fb [diff] |
MEDIUM: spoe: Be sure to wakeup the good entity waiting for a buffer This happens when buffer allocation failed. In the SPOE context, buffers are allocated by streams and SPOE applets at different time. First, by streams, when messages need to be encoded before sending them in a NOTIFY frame. Then, by SPOE applets, when a ACK frame is received. The first case works as expected, we wake up the stream. But for the second one, we must wake up the waiting SPOE applet.