Browse code

clamd: bump default MaxConnectionQueueLength to 200

Török Edvin authored on 2010/12/20 23:36:10
Showing 4 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Dec 20 16:30:57 EET 2010 (edwin)
2
+-----------------------------------
3
+ * clamd: bump default MaxConnectionQueueLength to 200
4
+
1 5
 Fri Dec 17 17:10:46 CET 2010 (acab)
2 6
 -----------------------------------
3 7
  * shared/cdiff.c: Fix error path double free - missed in 4bc4581d
... ...
@@ -122,7 +122,7 @@ Default: no
122 122
 \fBMaxConnectionQueueLength NUMBER\fR
123 123
 Maximum length the queue of pending connections may grow to.
124 124
 .br 
125
-Default: 15
125
+Default: 200
126 126
 .TP 
127 127
 \fBMaxThreads NUMBER\fR
128 128
 Maximum number of threads running at the same time.
... ...
@@ -103,7 +103,7 @@ Example
103 103
 #TCPAddr 127.0.0.1
104 104
 
105 105
 # Maximum length the queue of pending connections may grow to.
106
-# Default: 15
106
+# Default: 200
107 107
 #MaxConnectionQueueLength 30
108 108
 
109 109
 # Clamd uses FTP-like protocol to receive data from remote clients.
... ...
@@ -200,7 +200,7 @@ const struct clam_option __clam_options[] = {
200 200
     /* FIXME: add a regex for IP addr */
201 201
     { "TCPAddr", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_CLAMD, "By default clamd binds to INADDR_ANY.\nThis option allows you to restrict the TCP address and provide\nsome degree of protection from the outside world.", "127.0.0.1" },
202 202
 
203
-    { "MaxConnectionQueueLength", NULL, 0, TYPE_NUMBER, MATCH_NUMBER, 15, NULL, 0, OPT_CLAMD, "Maximum length the queue of pending connections may grow to.", "30" },
203
+    { "MaxConnectionQueueLength", NULL, 0, TYPE_NUMBER, MATCH_NUMBER, 200, NULL, 0, OPT_CLAMD, "Maximum length the queue of pending connections may grow to.", "30" },
204 204
 
205 205
     { "StreamMaxLength", NULL, 0, TYPE_SIZE, MATCH_SIZE, CLI_DEFAULT_MAXFILESIZE, NULL, 0, OPT_CLAMD, "Close the STREAM session when the data size limit is exceeded.\nThe value should match your MTA's limit for the maximum attachment size.", "25M" },
206 206