Commit Graph

70 Commits (da3e0e4036ec3ff3d52d36f3d63472fe5926355f)

Author SHA1 Message Date
Török Edvin da3e0e4036 fix documentation, fix warnings. 16 years ago
Török Edvin b6de553d58 set timeout to readtimeout after receiving a chunk (bb #1540). 16 years ago
Török Edvin 9390411bf0 Automatically fix MaxQueue settings (bb #1521). 16 years ago
Tomasz Kojm 2accc66fef libclamav, clamd, clamscan: replace cl_engine_(set|get) with cl_engine_set_(num|str) and cl_engine_get_(num|str) 16 years ago
Török Edvin f8e8ab4fd9 wake recvloopth after SelfCheck (if set), to avoid reloading the DB 16 years ago
Tomasz Kojm 99f817e731 libclamav: introduce cl_engine_settings_* API calls for copying settings between engines 16 years ago
Török Edvin 1c3895a69f downgrade warning message (bb #1433). 16 years ago
Török Edvin a1c9ad2cf3 fix distcheck. 17 years ago
Török Edvin 5d34634e5d move the command parsing, and stream handling code into their own functions. 17 years ago
Török Edvin f36d8f928d fix NetBSD build 17 years ago
Török Edvin a414efbf5e revert previous commit, it is the wrong fix. 17 years ago
Török Edvin a1f0c01189 Fix wrong use of strerror_r: it doesn't have to use/fill the buffer, 17 years ago
Török Edvin 4d26118b95 In single INSTREAM mode, remove FD from polled set (BB #1410) 17 years ago
Török Edvin b82eea8de0 signals may not wake a poll(), so make sure thread wakes up (BB #1400). 17 years ago
Török Edvin 537292a773 Reject new commands sent as new-style commands to avoid confusion. 17 years ago
Török Edvin fb6fe4f5d1 Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes. 17 years ago
Török Edvin c5355aedbd make sending ancillary data at wrong time a protocol error. 17 years ago
Török Edvin 5f6edb222c ReadTimeout handling, and introduce CommandReadTimeout. 17 years ago
Török Edvin 456e31a3cb fix typo. 17 years ago
Török Edvin 0378a9ab77 introduce timeouts for send(), this is needed for IDSESSION to work reliably, 17 years ago
Török Edvin 4e24a36173 add more unit tests. 17 years ago
Török Edvin 80681b50c7 Initialize mutex. 17 years ago
Török Edvin 36784cad4b fix nFILDES command 17 years ago
Tomasz Kojm 086eab5c26 update old copyright headers 17 years ago
Török Edvin 6e3256f492 Unify error paths. 17 years ago
Török Edvin 949c6fe54f merge from clamd-proto branch: 17 years ago
Török Edvin 004f8386ce output "stream" instead of "fd[]" for INSTREAM. 17 years ago
Török Edvin 0115f12ffc fix some more warnings 17 years ago
Török Edvin 10ab5e32f4 fix some compiler warnings 17 years ago
Török Edvin 9ef7e0bdae fix memory leaks 17 years ago
Török Edvin d0f6ecae1c Never close a file descriptor that is monitored using 17 years ago
Török Edvin f243f00fc5 fix some races reported by valgrind 17 years ago
Török Edvin bac978a8f8 move the break to the proper place, so we don't parse same command twice! 17 years ago
Török Edvin 0c8c3a5463 fix use-after-free 17 years ago
Török Edvin 699bfc282c dumpname(filename) is going to be dispatched, don't allow a later error path to 17 years ago
Török Edvin 91cafbe095 break loop 17 years ago
Török Edvin 3f26090eb7 clamdscan doesn't give us any deadbeef any more, so don't look for it. 17 years ago
Tomasz Kojm 00eab4092f clamd/others.c: handle multiple %v parameters 17 years ago
aCaB 544e7fd814 allow clamd to be stopped and backgrounded 17 years ago
Török Edvin 30e36bfb5c fix build 17 years ago
Török Edvin 4f266591a0 fix INSTREAM when not in IDSESSION mode 17 years ago
Török Edvin e640277428 fix INSTREAM/IDSESSION. 17 years ago
Török Edvin 467ac26c95 fix INSTREAM end handling 17 years ago
Török Edvin 76f21b4a30 introduce RR of connections. 17 years ago
Török Edvin e001f2838e Use 2 queues: one for single, one for bulk messages. 17 years ago
Török Edvin fd468937fc keep MODE_WAITREPLY in select still, so if garbage is sent we can close. 17 years ago
Török Edvin 07ac8bb23a also remove socket from tracked sockets after switching mode to WAITREPLY. 17 years ago
Török Edvin 869d03832d add proto debug messages to LogVerbose temporarely 17 years ago
Török Edvin 8f74b8e4ee handle multiple commands and ancillary data in one packet 17 years ago
Török Edvin 8eac8d3e88 fix FILDES infloop 17 years ago