BUG/MEDIUM: cli/proxy: don't try to dump idle connection state if there's none
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Jul 2020 13:19:57 +0000 (15:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Jul 2020 13:19:57 +0000 (15:19 +0200)
commit42abe68f111fac0849e4c811de5ef8e772efeb17
treeaa654300cc4e7e4405c6eb76c3f2e04c41fd3ccb
parent48ce6a3ab181bf7b90376008d7fb077df57387c0
BUG/MEDIUM: cli/proxy: don't try to dump idle connection state if there's none

Commit 69f591e3b ("MINOR: cli/proxy: add a new "show servers conn" command")
added the ability to dump the idle connections state for a server, but we
must not do this if idle connections were not allocated, which happens if
the server is configured with pool-max-conn 0.

This is 2.2, no backport is needed.
src/proxy.c