2017-04-30 13:29 GMT+02:00 Roland Schnabel <debianbug...@rolandschnabel.de>: > Package: c-icap > Version: 1:0.3.4-2 > Severity: minor > Tags: upstream > > Dear Maintainer,
Hello, > * What led up to the situation? > Configure c-icap with module libc-icap-mod-virus-scan > > * What exactly did you do (or not do) that was effective (or ineffective)? > Configuration: > MaxServers 10 > ThreadsPerChild 10 > ServiceAlias avscan virus_scan?allow204=on&sizelimit=off&mode=simple > virus_scan.MaxObjectSize 5M > TmpDir /tmp > Free diskspace in /tmp: 700 MB > Downloading a file via squid3 that is larger than 700 MB OK. thanks for your report.Can you send this upstream? I won't have time to deal with it soon. > * What was the outcome of this action? > Log entry in c-icap logfile: > "Bug in the service. Please report to the service author!!!!" > > * What outcome did you expect instead? > Log entry in c-icap logfile: > "Running out of temporary diskspace" or "Skipping c-icap module because file > is too large for temp. diskspace" > Max. required temp. diskspace of above c-icap configuration is 500 MB. Free > diskspace is 700 MB. So temp. > diskspace would be enough. But because of the ServiceAlias option for > virus_scan "sizelimit=off" the c-icap > configuration for max. temp. diskspace is ignored. c-icap tries to download > the file runs out of temp. > diskspaceand logs this very misleading error message. This makes it very hard > to detect this error if you > have e.g. a large number of squid users that report infrequent error messages > in their browser "internal > server error" and they are concurrently only downloading small files over > squid. Regards -- Mathieu Parent