clamscan
                                
                                
                                
                                    clamscan copied to clipboard
                            
                            
                            
                        Retry on ECONNREFUSED for ClamAV using TCP sockets
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.
I'm always open to pull requests!