commit | e6d8cb1e911267662c92f257f0f42df1ec78d42b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 20 16:42:00 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 20 16:48:01 2019 +0100 |
tree | db0639c19b0f23e5573b7929787caaf5bb1dbfa3 | |
parent | 6db8a2e02132d7370284869d5964512534183d45 [diff] |
BUG/MINOR: stream-int: Fix si_cs_recv() return value The previous patch on this function (36b536d6c "BUG/MEDIUM: stream-int: Don't loose events on the CS when an EOS is reported") contains a bug. The return value is based on the conn-stream's flags. But it may be reset if the CS is closed. Ironically it was exactly the purpose of this patch... This patch must be backported to 2.0 and 1.9.