February 13, 2009
View 949c6fe

merge from clamd-proto branch: handle multiple %v parameters introduce poll_fds that also does the read into a buffer introduce thrmgr_group* commands for keeping track of groups of commands (multiscan, IDSESSION) introduce 2 queues in thrmgr, multiscan queues get lower priority. Commands are processed from both queues in a 4:1 ratio to avoid starvation. unify reply code: conn_reply* unify scanner code into scan_callback that is called from cli_ftw multiscan doesn't need stat() now if readdir() provides dt_type redesign clamd main loop: there is now an accept thread, and a recv()/dispatch thread, +MaxThreads worker (scanner) threads. introduce limiting on commands when worker threads are contended. introduce IDSESSION, a replacement for the old SESSION command, that allows asyncronous (scan) commands and scan replies introduce INSTREAM that allows sending the data to scan on same connection (vs STREAM that requires another port) introduce zCOMMANDS

Török Edvin authored on 2009/02/13 01:51:09
January 27, 2009
View 47d40fe

libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)

Tomasz Kojm authored on 2009/01/27 04:47:02
November 13, 2008
View 15adbc8

update unit tests to new API. Initialization order changed, make sure stats_tls_key is initialized.

Török Edvin authored on 2008/11/13 03:02:33
November 8, 2008
View 08402af

fix more compiler warnings (bb #273)

Török Edvin authored on 2008/11/08 03:49:47
November 7, 2008
View 5a1034b

fix more compiler warnings (bb #273).

Török Edvin authored on 2008/11/07 07:49:53
November 6, 2008
View b9b4778

fix compiler warnings, more to come (bb #273)

Török Edvin authored on 2008/11/06 23:27:43
View deb3031

mempool statistics support

Török Edvin authored on 2008/11/06 23:27:27
November 4, 2008
View 764f76c

* clamd/thrmgr.c (thrmgr_printstats, IDLE_TASK): add comments * contrib/clamdtop/TODO: more TODO items

Török Edvin authored on 2008/11/04 18:13:24
View 64cb380

fix whitespace

Török Edvin authored on 2008/11/04 18:13:18
View 6bdb35e

use mdprintf instead of fdopen on socket (bb #1270) (thanks to Gianluigi Tiesi <sherpya*netfarm.it>)

Török Edvin authored on 2008/11/04 17:58:44
View aa22174

new command STATS new top-like tool using ncurses: clamdtop

Török Edvin authored on 2008/11/04 04:27:20
September 14, 2008
View b8edbb8

clamd/thrmgr.c: fix valgrind warning (bb #1184) unit_tests: add more valgrind tests, add a reload and a multiscan test (bb #1092)

Török Edvin authored on 2008/09/14 23:15:39
August 3, 2008
View 4a0bd44

Multiscan queues a lot of scan tasks. If thread_idle wasn't zero when multiscan started queueing, it will only spawn at most one thread, and keep queueing without spawning more threads (because threads_idle now non-zero), but the idle thread doesn't get a chance to pick up the tasks.

Török Edvin authored on 2008/08/03 23:09:29
July 30, 2008
View 4270f93

(bb #913, #916) * fix scan of partial messages * allow for tempfiles to be cleaned up based on age * new clamd.conf option ScanPartialMessages * sample cleanup script * clamd/thrmgr.c: fix item_count

Török Edvin authored on 2008/07/30 22:54:34
View 5a66732

clamd: revert patch from bb#1028 (bb#1113)

Tomasz Kojm authored on 2008/07/30 06:35:58