February 18, 2009
View 5f6edb2

ReadTimeout handling, and introduce CommandReadTimeout.

Török Edvin authored on 2009/02/18 00:59:21
February 17, 2009
View 456e31a

fix typo. add another stress test. Don't leak file descriptors. Fix IDSESSION delimiter handling.

Török Edvin authored on 2009/02/17 06:27:22
View 0378a9a

introduce timeouts for send(), this is needed for IDSESSION to work reliably, since a buggy client implementation may get stuck in send(), and then clamd gets stuck in send() -> deadlock. To avoid this we need nonblocking sockets, and (low) timeouts on send. Add more tests for clamd protocol, including a stress test for IDSESSION.

Török Edvin authored on 2009/02/17 03:27:08
View ec86878

test for FILDES

Török Edvin authored on 2009/02/17 03:27:03
View 4e24a36

add more unit tests. Make handling of old-style commands compatible with old clamd: if they have a \n that will delimit the command. If multiscan of a single file encounters errors, don't reply OK too.

Török Edvin authored on 2009/02/17 03:26:58
February 14, 2009
View 6870ebe

mdprintf was also taking %f and %l, and they have different size than int. Make the ARGLEN get the correct vaarg types, otherwise it was popping off the stack an item of the wrong size!

Török Edvin authored on 2009/02/14 01:52:15
February 13, 2009
View 8cad8e8

fix distcheck errors

Török Edvin authored on 2009/02/13 03:25:17
View 05a213b

add another missing file

Török Edvin authored on 2009/02/13 03:22:19