mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05:00
It is not a bug fix, because there is no way to hit the issue for now. But there is nothing preventing a loop of synchronous sends in process_stream(). Indead, when a synchronous send is successfully performed, we restart the SCs evaluation and at the end another synchronous send is attempted. So with an endpoint consuming data bit by bit or with a filter fowarding few bytes at each call, it is possible to loop for a while in process_stream(). Because it is not expected, we now limit the number of synchronous send per wakeup to two calls. In a nominal case, it should never be more. This commit is mandatory to be able to handle large buffers on channels There is no reason to backport this commit except if the large buffers support on channels are backported. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||