[Mimedefang] Developer release of Email::VirusScan

Dave O'Neill dmo at roaringpenguin.com
Fri Apr 11 15:08:17 EDT 2008


On Fri, Apr 11, 2008 at 05:20:33PM +0300, Henrik K wrote:

> One more suggestion.. please add some timeout option for scanning, it would
> be generally useful.

Yes, this would be very useful.  Should be easy to implement generically
for all commandline scanners (they all share the same code in the base
class), but a little more difficult for daemonized scanners, as they all
work slightly differently and could require different timeout values for
different stages.

For the interface, passing a config parameter of

	scan_timeout => $some_number_of_seconds,

would be applicable to all types of scanners, with general daemonized
scanners having at least:

	connect_timeout => $some_number_of_seconds

and possibly more scanner-specific options (like ping_timeout for
clamd).

Thoughts?

Dave
-- 
Dave O'Neill <dmo at roaringpenguin.com>    Roaring Penguin Software Inc.
+1 (613) 231-6599                        http://www.roaringpenguin.com/
For CanIt technical support, please mail: support at roaringpenguin.com



More information about the MIMEDefang mailing list