Commit Graph

99 Commits (6b7c7dc61353c6e50246f0a751fa1ffaabfbdf97)

Author SHA1 Message Date
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
Török Edvin 060c6715bb introduce MODE_WAITREPLY. 17 years ago
Török Edvin 2ea8946280 don't execute commands if client disconnected. 17 years ago
Török Edvin ef4ed2e180 preliminary INSTREAM support. 17 years ago
Török Edvin 54c1f41b34 unify replies: add ids on all replies from IDSESSION. 17 years ago
Török Edvin ac30aff8ea properly close disconnected sockets 17 years ago
Török Edvin 98dcb91ef0 reject invalid commands 17 years ago
Török Edvin 937c8ec187 preliminary ID support, only on engine messages, not clamd messages 17 years ago
Török Edvin 79b43cf868 preliminary IDSESSION support, no IDs yet 17 years ago
Török Edvin 28e89f60ca fix warnings 17 years ago
Török Edvin cc59cb00db temp commit 17 years ago
Török Edvin ed2b37c685 another temp commit 17 years ago
Török Edvin 3de54fe471 WIP switch to new multiscan code. 17 years ago
Török Edvin 7a95bd5795 tell accept to quit before we start waiting for threads to quit. 17 years ago
Török Edvin e66fd86ac0 fix FILDES 17 years ago
Török Edvin 14ccb41923 fix replies to honor zCMDs 17 years ago
Török Edvin 58b5cb19a6 fix poll, we add a new fd so we need to iterate on old nfds. 17 years ago
Török Edvin dc3a1def55 acceptloop/recvloop as in bb #1339 17 years ago
Török Edvin cb95779e9c remove fd from poll list, before closing it, handle EBADF in select. 17 years ago
aCaB 3ec259a602 preliminary zCMD sport 17 years ago
Török Edvin 6eea8d4f3a fix progexit handling. Now clamd should be able to handle most commands. 17 years ago
Török Edvin 4f5a740806 fix accept logic 17 years ago