Browse code

increase default ConnectTimeout to 30 secs

git-svn: trunk@2397

Tomasz Kojm authored on 2006/10/16 08:40:43
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Oct 16 01:39:35 CEST 2006 (tk)
2
+----------------------------------
3
+  * freshclam: increase default ConnectTimeout to 30 secs
4
+
1 5
 Mon Oct 16 01:12:36 CEST 2006 (tk)
2 6
 ----------------------------------
3 7
   * libclamav/readdb.c: use different field order for .mdb files
... ...
@@ -112,8 +112,8 @@ DatabaseMirror database.clamav.net
112 112
 #Debug yes
113 113
 
114 114
 # Timeout in seconds when connecting to database server.
115
-# Default: 10
116
-#ConnectTimeout 30
115
+# Default: 30
116
+#ConnectTimeout 60
117 117
 
118 118
 # Timeout in seconds when reading from database server.
119 119
 # Default: 30
... ...
@@ -111,7 +111,7 @@ struct cfgoption cfg_options[] = {
111 111
     {"OnErrorExecute", OPT_FULLSTR, -1, NULL, 0, OPT_FRESHCLAM},
112 112
     {"OnOutdatedExecute", OPT_FULLSTR, -1, NULL, 0, OPT_FRESHCLAM},
113 113
     {"LocalIPAddress", OPT_QUOTESTR, -1, NULL, 0, OPT_FRESHCLAM},
114
-    {"ConnectTimeout", OPT_NUM, 10, NULL, 0, OPT_FRESHCLAM},
114
+    {"ConnectTimeout", OPT_NUM, 30, NULL, 0, OPT_FRESHCLAM},
115 115
     {"ReceiveTimeout", OPT_NUM, 30, NULL, 0, OPT_FRESHCLAM},
116 116
     {NULL, 0, 0, NULL, 0, 0}
117 117
 };