Commit Graph

7994 Commits

Author SHA1 Message Date
willy tarreau
a5e8c663a9 [MINOR] stupid bug which caused two different session flags to use the same bit.
Fortunately, this had no side effect because they were not used in same areas.
2006-04-29 10:43:46 +02:00
willy tarreau
0889c962b5 [CLEANUP] cleaned some comments. 2006-04-24 14:36:48 +02:00
willy tarreau
7feab59518 [MINOR] always process the run queue from the head.
This ensures that any task wan wake any other task up and that it will be
processed too.
2006-04-22 15:13:16 +02:00
willy tarreau
898db9d595 [MEDIUM] now the round-robin load balancer uses two passes to avoid saturated servers. The first avoids servers which have filled with maxconn connections, and a second pass can enforce the selection of one of them if the first pass found no candidate. 2006-04-15 22:59:58 +02:00
willy tarreau
18a957c325 [MEDIUM] added the necessary infrastructure to support per-server session limits : - the "maxconn" config option - the new SV_STCPEND state (connection pending) - a per-server pending connections queue 2006-04-15 22:59:34 +02:00
willy tarreau
80862a3b9e [MINOR] imported mini-clist.h (circular lists) from librt. It might be wise to merge this with list.h and use sort of common structures. 2006-04-15 22:59:13 +02:00
willy tarreau
14b4d43db3 [MEDIUM] added the total number of sessions per server and per proxy and we now report it in the dumps. 2006-04-15 22:47:12 +02:00
willy tarreau
cfbb218b42 [MINOR] added some comments to the places where we can send a pending connection to a server in case of throttling. 2006-04-15 22:46:38 +02:00
willy tarreau
a647c7051e [MINOR] maintain the number of sessions per server and add this info to the logs 2006-04-15 22:45:52 +02:00
willy tarreau
a4197319b4 Merge branch 'haproxy-1.2.12' 2006-04-15 22:18:48 +02:00
willy tarreau
c0d4bbdc8d [VERSION] updated everything to reflect version 1.2.12. 2006-04-15 21:47:50 +02:00
willy tarreau
9974d73d98 [BUILD] added haproxy-small.spec for smaller and embedded systems.
Not sure if it's the best way to proceed though...
2006-04-15 21:47:17 +02:00
willy tarreau
34f4530c3a [doc] updated english and french docs with source and weight options. 2006-04-15 21:37:14 +02:00
willy tarreau
b3a64a797e Revert "maintain the number of sessions per server and add this info to the logs"
This reverts c136461676 commit.
2006-04-15 21:10:36 +02:00
willy tarreau
8439e8c75c Revert "added some comments to the places where we can send a pending connection"
This reverts 704f32b78c commit.
2006-04-15 21:10:34 +02:00
willy tarreau
87ff241455 Revert "added the total number of sessions per server and per proxy"
This reverts b1c331fd8d commit.
2006-04-15 21:10:32 +02:00
willy tarreau
393cfb7b50 Revert "added the 'weight' parameter to the servers, limited to 1..256."
This reverts 3b002c7a79 commit.
2006-04-15 21:10:30 +02:00
willy tarreau
6433c2bb5a Revert "implemented the weighted load balancing based on a server map."
This reverts e0fa496576 commit.
2006-04-15 21:10:27 +02:00
willy tarreau
88d656fab4 Revert "updated TODO"
This reverts 1d176628c5 commit.
2006-04-15 21:10:25 +02:00
willy tarreau
3c4acb409a Revert "ignore leading empty lines in HTTP requests (RFC2616)"
This reverts d13a3c8d2a commit.
2006-04-15 21:10:21 +02:00
willy tarreau
2c51373bfa [MINOR] optionnal '-s' command line argument could clobber '-st' and '-sf' 2006-04-15 19:25:16 +02:00
willy tarreau
91b76215c2 * updated TODO 2006-04-15 19:05:42 +02:00
willy tarreau
cc1e2bda20 * implemented the weighted load balancing based on a server map.
Weighted roundrobin and weighted source hash are now supported.
2006-04-15 19:02:24 +02:00
willy tarreau
e3f023f677 * added the 'weight' parameter to the servers, limited to 1..256.
It is factored between all the servers so that the servers map
  will be smaller and easier to construct.
2006-04-15 19:01:09 +02:00
willy tarreau
43b1512834 * ignore leading empty lines in HTTP requests (RFC2616) 2006-04-15 18:50:09 +02:00
willy tarreau
d13a3c8d2a * ignore leading empty lines in HTTP requests (RFC2616) 2006-04-10 21:01:39 +02:00
willy tarreau
1d176628c5 * updated TODO 2006-04-10 20:34:25 +02:00
willy tarreau
e0fa496576 * implemented the weighted load balancing based on a server map.
Weighted roundrobin and weighted source hash are now supported.
2006-04-10 20:32:43 +02:00
willy tarreau
3b002c7a79 * added the 'weight' parameter to the servers, limited to 1..256.
It is factored between all the servers so that the servers map
  will be smaller and easier to construct.
2006-04-08 21:52:24 +02:00
willy tarreau
b1c331fd8d * added the total number of sessions per server and per proxy
and we now report it in the dumps.
2006-04-07 18:23:29 +02:00
willy tarreau
704f32b78c * added some comments to the places where we can send a pending connection
to a server in case of throttling.
2006-04-07 17:37:55 +02:00
willy tarreau
c136461676 maintain the number of sessions per server and add this info to the logs 2006-04-07 16:28:28 +02:00
willy tarreau
a60214e260 * once again, forgot to update haproxy.spec 2006-03-30 18:03:39 +02:00
willy tarreau
e0dd269db8 * Released version 1.2.11.1 2006-03-30 16:27:34 +02:00
willy tarreau
06a1205f57 * it might have been possible that a flapping server would not have been
detected UP is responding just before being declared down.
2006-03-30 15:03:36 +02:00
willy tarreau
d2058dc491 * updated CHANGELOG and haproxy.c to display version 1.2.11 2006-03-25 20:35:41 +01:00
willy tarreau
bf8ff3d4cc * added the '-db' command-line option to disable backgrounding. 2006-03-25 20:33:48 +01:00
willy tarreau
53e99701c6 * added the -sf/-st command-line arguments which are used to specify
a list of pids to send a FINISH or TERMINATE signal upon startup.
  They will also be asked to release their port if a bind fails.
2006-03-25 20:33:42 +01:00
willy tarreau
41310e7d9d * reworked the startup mechanism to allow the sending of a signal to a list
of old pids if a socket cannot be bound, with a retry for a limited amount
  of time (1 second by default).
2006-03-25 20:33:33 +01:00
willy tarreau
746e26b180 * added the ability to enforce limits on memory usage. 2006-03-25 20:33:22 +01:00
willy tarreau
1a3442daee * added the 'source' load-balancing algorithm which uses the source IP(v4|v6) 2006-03-25 20:33:17 +01:00
willy tarreau
b8d29e4361 * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +01:00
willy tarreau
4c8c2b5f08 * re-architectured the server round-robin mechanism to ease integration of
other algorithms. It now relies on the number of active and backup servers.
2006-03-25 20:33:10 +01:00
willy tarreau
62084d4f2d * added a counter for the number of active and backup servers, and report
these numbers upon SIGHUP or state change.
2006-03-25 20:33:07 +01:00
willy tarreau
bfad574854 Released 1.2.10.1 2006-03-23 14:19:11 +01:00
willy tarreau
72e583d030 While fixing the backup server round-robin "feature", a new bug was introduced
which could miss some backup servers.
2006-03-23 11:27:02 +01:00
willy tarreau
1fb3493492 * The displayed proxy name was wrong when dumping upon SIGHUP. 2006-03-23 11:22:10 +01:00
willy tarreau
aaff30e62e Updated CHANGELOG for v1.2.10 2006-03-19 21:30:41 +01:00
willy tarreau
e114bf94a3 cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file. 2006-03-19 21:30:14 +01:00
willy tarreau
cee272fff4 Added the 'tar' target to build the tar.gz archive directly from git. 2006-03-19 21:16:26 +01:00