]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli: dequeue from the proxy when changing a maxconn
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 14:25:39 +0000 (15:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 14:34:34 +0000 (15:34 +0100)
commit74a5a9828b7eba80248573e110bc8ed388d8b692
treedc0d955dccebf864eb2481328fd4e5294d5da221
parent578fa0259f59736496a5f227bbadd2a936dc786f
BUG/MINOR: cli: dequeue from the proxy when changing a maxconn

The "set maxconn frontend" statement on the CLI tries to dequeue possibly
pending requests, but due to a copy-paste error, they're dequeued on the
CLI's frontend instead of the one being changed.

The impact is very minor as it only means that possibly pending connections
will still have to wait for a previous one to complete before being accepted
when a limit is raised.

This fix has to be backported to 1.6 and 1.5.
src/dumpstats.c