]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: haload: fix rate limit bypass during stream errors
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 30 Jul 2026 07:23:01 +0000 (09:23 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 30 Jul 2026 07:26:43 +0000 (09:26 +0200)
commit1654e42084cbbb26bffb304fc9bf684e25d5321b
tree35b15a3e834e40929ce7371719b83a779b17fb93
parent3f98de6cc53dae9f9a6911a0c6c58a0dc988e3a1
BUG/MINOR: haload: fix rate limit bypass during stream errors

In hld_strm_task(), stream errors triggered an unconditional task_wakeup()
on the user task. This bypassed arg_rate and caused haload to send connection
retries as fast as possible instead of respecting the configured request rate.

Call hld_usr_schedule() when arg_rate is set to guarantee that
rate pacing is preserved even when streams fail.
src/haload.c