commit | d48d6d284ed6165dae2e3e97c2f72ed77a828622 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Sep 28 14:38:51 2018 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Sep 28 15:12:12 2018 +0200 |
tree | 95bd335078f0ecfac8b68a48576978669c16c7e5 | |
parent | 61d322fa9e31e4b812048bcd32a4c630fbcca5f5 [diff] |
BUG/MEDIUM: process_stream(): Don't wake the task if no new data was received. At the eand of process_stream(), we wake the task if there's something in the input buffer, after attempting a recv. However this is wrong, and we should only do so if we received new data. Just check the CF_READ_PARTIAL flag. This is 1.9-specific and should not be backported.