A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
230
stars
68
forks
source link
Retry on ECONNREFUSED for ClamAV using TCP sockets #117
While using TCP sockets method, the error is thrown on ECONNREFUSED, when clamd is starting. The timeout specified only works for connect timeout, however upon refusal, if we can put retry logic till the given timeout expires, it would be very helpful.
While using TCP sockets method, the error is thrown on ECONNREFUSED, when clamd is starting. The timeout specified only works for connect timeout, however upon refusal, if we can put retry logic till the given timeout expires, it would be very helpful.