]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
helper protocol concurrency=0 is the old protocol, not =1
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 13 Feb 2010 00:00:53 +0000 (01:00 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 13 Feb 2010 00:00:53 +0000 (01:00 +0100)
concurrency=1 actaully means new protocol with a single channel...
not what the old helpers expect..

src/HelperChildConfig.cc
src/HelperChildConfig.h
src/cf.data.pre

index 9cd5038680f60ff72778a8d08606c82617a26e0f..f42e8560aff4fc1d6e6bdbefca5604578b038414 100644 (file)
@@ -8,7 +8,7 @@ HelperChildConfig::HelperChildConfig() :
         n_max(0),
         n_startup(1),
         n_idle(1),
-        concurrency(1),
+        concurrency(0),
         n_running(0),
         n_active(0)
 {}
index 1378763a0ff9569c18f6badbce67f13079bc153b..47c499d1d1ecd471fdce76e69c926c52f9acf496 100644 (file)
@@ -51,7 +51,7 @@ public:
 
     /**
      * How many concurrent requests each child helper may be capable of handling.
-     * Default: 1  - no concurrency possible.
+     * Default: 0  - no concurrency possible.
      */
     unsigned int concurrency;
 
index 91f1f41f80ebdf76c036aba79589bab79b3892bf..6ee31b45fda3a45c936c5cadfc072a93ea51ef63 100644 (file)
@@ -3221,7 +3221,7 @@ DOC_END
 
 NAME: url_rewrite_children redirect_children
 TYPE: HelperChildConfig
-DEFAULT: 20 startup=0 idle=1 concurrency=1
+DEFAULT: 20 startup=0 idle=1 concurrency=0
 LOC: Config.redirectChildren
 DOC_START
        The maximum number of redirector processes to spawn. If you limit