Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MEDIUM: listener/proxy: fix listeners notify for proxy resume (2n…
…d try) In 7741928 ("BUG/MEDIUM: listener/proxy: fix listeners notify for proxy resume"), we changed the way we detect that the proxy is resumed by checking the suspend counter instead of the paused counter to take into account listeners that don't support being paused such as abns socket. However, the backport note for the 2.4 version was wrong. Since we don't have the PR_FL_PAUSED flag, we must still ensure that we report the change only if the proxy was previously suspended. It can be done by comparing the new state with the previous state like it was done prior to 7741928. This bug was raised by Sebastien: it can be easily reproduced when proxy rate-limiting directives such as 'maxconnrate' are used and the proxy becomes limited and is then relaxed when the rate becomes acceptable again. Due to this, a lot of polluting logs could be generated: [WARNING] (2661577) : Resumed frontend GLOBAL. [WARNING] (2661577) : Resumed frontend GLOBAL. [WARNING] (2661577) : Resumed frontend GLOBAL. This is a 2.4 only fix, no backport needed.
- Loading branch information