[MINOR] fix backend's weight in the stats page.
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Jul 2007 22:28:06 +0000 (00:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 Sep 2007 19:09:28 +0000 (21:09 +0200)
commit4b946c8564332836b9c2bfa540558f8a8895896f
tree09bd663843a7b89bdd727f179f1c830adbf4ea73
parent5af3a694f5278793685a102fa8e33974bc608443
[MINOR] fix backend's weight in the stats page.

The GCD used when computing the servers' weights causes the total
weight of the backend to appear lower than expected because it is
divided by the GCD. Easy solution consists in recomputing the GCD
from the first server and apply it to the global weight.
src/proto_http.c