Keep track of total requests sent to a home server.
authoraland <aland>
Mon, 3 Sep 2007 09:57:50 +0000 (09:57 +0000)
committeraland <aland>
Mon, 3 Sep 2007 09:57:50 +0000 (09:57 +0000)
commit6fcdbe9bd0bc4e19b508099379209ee7b39e1322
tree4357c83d722e935562fe02bbb82896974133756b
parent9f9e752d2e182921dd3e2d0ef2001b8fb7ef5692
Keep track of total requests sent to a home server.

Use that information in load balancing.  Pick the one which is
least busy (packets sent but not replied to).  If there are
multiple such servers, pick the one that HAS BEEN least busy
(total number of packets handled)

Note it's only an "int", so at 1K packets/s, after about 50
days, the number will overflow.  That's a very busy proxy,
however...

We do want to fix that overflow before 2.x is out.
src/include/realms.h
src/main/event.c
src/main/realms.c