increase default ConnectTimeout to 30 secs

git-svn: trunk@2397
remotes/push_mirror/metadata
Tomasz Kojm 19 years ago
parent 2416fa5371
commit c27b1e2faa
  1. 4
      clamav-devel/ChangeLog
  2. 4
      clamav-devel/etc/freshclam.conf
  3. 2
      clamav-devel/shared/cfgparser.c

@ -1,3 +1,7 @@
Mon Oct 16 01:39:35 CEST 2006 (tk)
----------------------------------
* freshclam: increase default ConnectTimeout to 30 secs
Mon Oct 16 01:12:36 CEST 2006 (tk)
----------------------------------
* libclamav/readdb.c: use different field order for .mdb files

@ -112,8 +112,8 @@ DatabaseMirror database.clamav.net
#Debug yes
# Timeout in seconds when connecting to database server.
# Default: 10
#ConnectTimeout 30
# Default: 30
#ConnectTimeout 60
# Timeout in seconds when reading from database server.
# Default: 30

@ -111,7 +111,7 @@ struct cfgoption cfg_options[] = {
{"OnErrorExecute", OPT_FULLSTR, -1, NULL, 0, OPT_FRESHCLAM},
{"OnOutdatedExecute", OPT_FULLSTR, -1, NULL, 0, OPT_FRESHCLAM},
{"LocalIPAddress", OPT_QUOTESTR, -1, NULL, 0, OPT_FRESHCLAM},
{"ConnectTimeout", OPT_NUM, 10, NULL, 0, OPT_FRESHCLAM},
{"ConnectTimeout", OPT_NUM, 30, NULL, 0, OPT_FRESHCLAM},
{"ReceiveTimeout", OPT_NUM, 30, NULL, 0, OPT_FRESHCLAM},
{NULL, 0, 0, NULL, 0, 0}
};

Loading…
Cancel
Save