commit | 691fe3928435665a9128ba83c4b625243c31e79a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 12 18:48:52 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 12 19:00:22 2018 +0100 |
tree | ca25f9fa1014eadd896a75165547a92833081ce3 | |
parent | f26c26cca2f80e9ee4b235180bf7e7d6c28ffce9 [diff] |
BUG/MEDIUM: stream-int: convert some co_data() checks to channel_is_empty() Splicing was in great part broken over the last few development version due to the use of co_data() to detect if data are available in the channel. But co_data() only looks at buffered data, not spliced data. Channel_is_empty() takes care of both and should be used. With this, splicing restarts to work but there are still a few cases where transfers may stall. No backport is needed.