Search squid archive

How to extend Squid ICAP preview size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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.

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.

And while Transfer-Preview may be good for this, squid has a cap of 64K of preview size that limit us in the aspect.

Is there a way to extend this limit? Modifying the source code perhaps?
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?

Thanks,
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux