path: root/Documentation/git-daemon.txt
diff options
authorStephen R. van den Berg <>2008-08-14 18:02:20 (GMT)
committerJunio C Hamano <>2008-08-18 00:43:53 (GMT)
commit3bd62c21760f92996569bb9335b399a9545a5c41 (patch)
tree205ced564fb8d3cfd35740c6621d014c9565514b /Documentation/git-daemon.txt
parent695605b5080e1957bd9dab1fed35a7fee9814297 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-daemon.txt')
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 4ba4b75..b08a08c 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -9,8 +9,9 @@ SYNOPSIS
'git daemon' [--verbose] [--syslog] [--export-all]
- [--timeout=n] [--init-timeout=n] [--strict-paths]
- [--base-path=path] [--user-path | --user-path=path]
+ [--timeout=n] [--init-timeout=n] [--max-connections=n]
+ [--strict-paths] [--base-path=path] [--base-path-relaxed]
+ [--user-path | --user-path=path]
[--reuseaddr] [--detach] [--pid-file=file]
[--enable=service] [--disable=service]
@@ -99,6 +100,10 @@ OPTIONS
it takes for the server to process the sub-request and time spent
waiting for next client's request.
+ Maximum number of concurrent clients, defaults to 32. Set it to
+ zero for no limit.
Log to syslog instead of stderr. Note that this option does not imply
--verbose, thus by default only error conditions will be logged.