git-daemon: rewrite kindergarden, new option --max-connections
authorStephen R. van den Berg <srb@cuci.nl>
Thu, 14 Aug 2008 18:02:20 +0000 (20:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Aug 2008 00:43:53 +0000 (17:43 -0700)
commit3bd62c21760f92996569bb9335b399a9545a5c41
tree205ced564fb8d3cfd35740c6621d014c9565514b
parent695605b5080e1957bd9dab1fed35a7fee9814297
git-daemon: rewrite kindergarden, new option --max-connections

Get rid of the fixed array of children and make max-connections
dynamic and configurable.
Fix the killing code to actually kill the newest connections from
duplicate IP-addresses.
Avoid forking if too busy already.

Signed-off-by: Stephen R. van den Berg <srb@cuci.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-daemon.txt
daemon.c