<div dir="ltr">Hi,<div><br></div><div>We have an ICAP server for Squid 4.</div><div><br></div><div>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.</div><div><br></div><div>This is for an ICAP server that does Virus scanning and if virus found, the body is not sent back.</div><div><br></div><div>If we send an ICAP header with 500 then Squid mark us as ICAP FAILURE, if we don't send anything then Squid keeps awaiting on us and then timeout, increasing the icap failure counter by one and so on.</div><div><br></div><div>At some point squid just mark the server as down and stop sending transactions to it.</div><div><br></div><div>We have been overcoming this by having a low OPTIONs TTL but that seems inefficient for high traffic squid nodes.</div><div><br></div><div>Does anyone know how to proceed with this?</div><div><br></div><div>Thanks,</div></div>