Browse code

document bytecode timeout

Tomasz Kojm authored on 2010/03/25 02:24:12
Showing 3 changed files
... ...
@@ -218,6 +218,7 @@ void help(void)
218 218
     mprintf("\n");
219 219
     mprintf("    --bytecode[=yes(*)/no]               Load bytecode from the database\n");
220 220
     mprintf("    --bytecode-trust-all[=yes/no(*)]     Trust all loaded bytecode\n");
221
+    mprintf("    --bytecode-timeout=N		      Set bytecode timeout (in milliseconds)\n");
221 222
     mprintf("    --detect-pua[=yes/no(*)]             Detect Possibly Unwanted Applications\n");
222 223
     mprintf("    --exclude-pua=CAT                    Skip PUA sigs of category CAT\n");
223 224
     mprintf("    --include-pua=CAT                    Load PUA sigs of category CAT\n");
... ...
@@ -138,7 +138,7 @@ ReadTimeout.
138 138
 Default: 5
139 139
 .TP
140 140
 \fBSendBufTimeout NUMBER\fR
141
-This option specifies how long to wait (in miliseconds) if the send buffer is full.
141
+This option specifies how long to wait (in milliseconds) if the send buffer is full.
142 142
 Keep this value low to prevent clamd hanging.
143 143
 .br
144 144
 Default: 500
... ...
@@ -249,6 +249,11 @@ Set bytecode security level. Possible values: \fBNone\fR: no security at all, me
249 249
 .br 
250 250
 Default: TrustSigned
251 251
 .TP 
252
+\fBBytecodeTimeout NUMBER\fR
253
+Set bytecode timeout in milliseconds.
254
+.br
255
+Default: 60000
256
+.TP 
252 257
 \fBDetectPUA BOOL\fR
253 258
 Detect Possibly Unwanted Applications.
254 259
 .br 
... ...
@@ -84,6 +84,9 @@ With this option enabled ClamAV will load bytecode from the database. It is high
84 84
 \fB\-\-bytecode\-trust\-all[=yes/no(*)]\fR
85 85
 This option disables safety checks and makes ClamAV trust all bytecode. It should only be used for debugging.
86 86
 .TP 
87
+\fB\-\-bytecode\-timeout=N\fR
88
+Set bytecode timeout in milliseconds (default: 60000 = 60s)
89
+.TP 
87 90
 \fB\-\-detect\-pua[=yes/no(*)]\fR
88 91
 Detect Possibly Unwanted Applications.
89 92
 .TP