<div dir="ltr">Hi,<br><div><br></div><div>We would like to add some logic to our custom made ICAP server, one of these logics is to analyze up to 10MB of data of a given file and if the file is larger than that, squid should not keep sending it to icap, basically, a 204 message should be returned.</div><div><br></div><div>We understand this is not possible with Transfer-Complete OPTION, because that will send the whole file to the ICAP server, no matter the size.</div><div><br></div><div>And while Transfer-Preview may be good for this, squid has a cap of 64K of preview size that limit us in the aspect.</div><div><br></div><div>Is there a way to extend this limit? Modifying the source code perhaps?</div><div>If so, what are the disadvantages of doing so? Would it require more RAM per response or is RAM dynamically allocated as the file is being received?</div><div><br></div><div>Thanks,</div></div>