]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] slowstart: ensure we don't start with a null weight
authorWilly Tarreau <w@1wt.eu>
Mon, 3 Dec 2007 01:04:00 +0000 (02:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Dec 2007 01:04:00 +0000 (02:04 +0100)
commit5542af65dcc4f89355b06fee6d81afe55671ecf1
treeae0068edcf453d4aa1d15726d9eea4168cf89dc4
parent3259e3369eac6aaf6021fc432e394ebeaf066de8
[MEDIUM] slowstart: ensure we don't start with a null weight

Because of a divide, it was possible to have a null weight during
a slowstart, which is pretty annoying, especially with a single
server and a long slowstart.

Also, fix the way we report the values in the stats page to avoid
confusion.
src/checks.c
src/dumpstats.c