git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@453 77e5149b-7576-45b1-b177-96237e5ba77b
Trog authored on 2004/03/30 16:29:01... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Tue Mar 30 08:40:10 BST 2004 (trog) |
|
2 |
+----------------------------------- |
|
3 |
+ * clamav.conf, shared/cfgparser.c: recognise ReadTimeout option |
|
4 |
+ |
|
1 | 5 |
Mon Mar 29 18:11:08 CEST 2004 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* shared/output.c: don't try to unlock free mutex (bug reported |
... | ... |
@@ -88,10 +88,9 @@ LocalSocket /tmp/clamd |
88 | 88 |
# You may need to increase threads number for a server machine. |
89 | 89 |
#MaxThreads 10 |
90 | 90 |
|
91 |
-# Thread (scanner - single task) will be stopped after this time (seconds). |
|
92 |
-# Default is 180. Value of 0 disables the timeout. SECURITY HINT: Increase the |
|
93 |
-# timeout instead of disabling it. |
|
94 |
-#ThreadTimeout 500 |
|
91 |
+# Waiting for data from a client socket will timeout after this time (seconds). |
|
92 |
+# Default is 120. Value of 0 disables the timeout. |
|
93 |
+#ReadTimeout 300 |
|
95 | 94 |
|
96 | 95 |
# Maximal depth the directories are scanned at. |
97 | 96 |
MaxDirectoryRecursion 15 |
... | ... |
@@ -80,7 +80,7 @@ struct cfgstruct *parsecfg(const char *cfgfile) |
80 | 80 |
{"StreamSaveToDisk", OPT_NOARG}, |
81 | 81 |
{"StreamMaxLength", OPT_COMPSIZE}, |
82 | 82 |
{"MaxThreads", OPT_NUM}, |
83 |
- {"ThreadTimeout", OPT_NUM}, |
|
83 |
+ {"ReadTimeout", OPT_NUM}, |
|
84 | 84 |
{"MaxDirectoryRecursion", OPT_NUM}, |
85 | 85 |
{"FollowDirectorySymlinks", OPT_NOARG}, |
86 | 86 |
{"FollowFileSymlinks", OPT_NOARG}, |