clamscan icon indicating copy to clipboard operation
clamscan copied to clipboard

Retry on ECONNREFUSED for ClamAV using TCP sockets

Open ackava opened this issue 1 year ago • 1 comments

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.

ackava avatar Jan 22 '24 07:01 ackava

I'm always open to pull requests!

kylefarris avatar Mar 18 '24 20:03 kylefarris