During the conversion for the main proxies list, "show backend" was
broken as no entry would be displayed. This patch restores the iteration
over the backends list.
The exact patch which introduces the regression is the following one.
164d05706132107a405d23663dbca29916910f55
MINOR: proxy: define proxies_list iteration functions
No need to backport unless the above patch is.
}
for (; ctx->px; watcher_next(&ctx->px_watch, main_proxies_next(ctx->px))) {
- curproxy = appctx->svcctx;
+ curproxy = ctx->px;
/* looking for non-internal backends only */
if ((curproxy->cap & (PR_CAP_BE|PR_CAP_INT)) != PR_CAP_BE)