mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 11:53:03 +02:00
The poll() functions have become a bit dirty because they now check the size of the signal queue, the FD cache and the number of tasks. It's not their job, this must be moved to the caller. In the end it simplifies the code because the expiration date is now set to now_ms if we must not wait, and this achieves in exactly the same result and is cleaner. The change looks large due to the change of indent for blocks which were inside an "if" block.
5.3 KiB
5.3 KiB