]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Set sslcrtvalidator_children concurrency option default value to 1
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 11 Dec 2013 21:50:06 +0000 (23:50 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 11 Dec 2013 21:50:06 +0000 (23:50 +0200)
src/cf.data.pre
src/ssl/Config.cc
src/ssl/Config.h

index 533b726ac62ede80062fdde2b7e6ea4c11463f48..fa84a9cba1e91927cb2f1c11ea33e020d974be58 100644 (file)
@@ -2689,8 +2689,8 @@ DOC_START
                concurrency=
        
        The number of requests each certificate validator helper can handle in
-       parallel. Defaults to 0 which indicates the certficate validator
-       is a old-style single threaded redirector.
+       parallel. A value of 0 indicates the certficate validator does not
+       support concurrency. Defaults to 1.
        
        When this directive is set to a value >= 1 then the protocol
        used to communicate with the helper is modified to include
index 0060df8ab446b6453a560ed5684109423c980fcc..f730e03c82eeda8f7f81948a8aa20b2db0667a3a 100644 (file)
@@ -3,6 +3,15 @@
 
 Ssl::Config Ssl::TheConfig;
 
+Ssl::Config::Config():
+#if USE_SSL_CRTD
+            ssl_crtd(NULL),
+#endif
+            ssl_crt_validator(NULL)
+{ 
+    ssl_crt_validator_Children.concurrency = 1;
+}
+
 Ssl::Config::~Config()
 {
 #if USE_SSL_CRTD
index 24de8f64f9b1f0d029c7a976ca8cd50d7e096e93..6fa5daedd5ea21d388cad23d6c92037540f79c6a 100644 (file)
@@ -16,12 +16,7 @@ public:
 #endif
     char *ssl_crt_validator;
     HelperChildConfig ssl_crt_validator_Children;
-    Config():
-#if USE_SSL_CRTD
-            ssl_crtd(NULL),
-#endif
-            ssl_crt_validator(NULL) {}
-
+    Config();
     ~Config();
 private:
     Config(const Config &); // not implemented