On 11/26/19 10:15 AM, Felipe Arturo Polanco wrote:

> While we can successfully scan our files and do content adaptation, we
> have been struggling to find a way to close the ICAP transaction before
> passing the whole body back to squid and at the same time avoid squid
> marking one icap failure.

Squid needs a valid ICAP response. The right ICAP response status code
depends on what you want Squid to do after receiving that response. You
have mentioned what you do _not_ want Squid to do (i.e. increase the
failure count), but that still leaves a lot of options.


> This is for an ICAP server that does Virus scanning and if virus found,
> the body is not sent back.

What do you want Squid to do when the ICAP service finds a virus? For
example, what message do you want Squid to send to the next HTTP hop?

Alex.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to