commit | ae17925b87fac8057917125639726685c8a82d20 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 21 16:12:00 2022 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 21 16:29:00 2022 +0100 |
tree | d80d26165e76d55ffc153967d61ec0a860e6e2ef | |
parent | ec361bbd843781fb15ebbfca6aea57455d3ac3f8 [diff] |
DEBUG: stream-int: Check CS_FL_WANT_ROOM is not set with an empty input buffer In si_cs_recv(), the mux must never set CS_FL_WANT_ROOM flag on the conn-stream if the input buffer is empty and nothing was copied. It is important because, there is nothing the app layer can do in this case to make some room. If this happens, this will most probably lead to a ping-pong loop between the mux and the stream. With this BUG_ON(), it will be easier to spot such bugs.