Re: [squid-users] How to extend Squid ICAP preview size

2019-09-17 Thread Alex Rousskov
On 9/16/19 5:26 PM, Felipe Arturo Polanco wrote: > I have a RESPMOD icap server that supports Allow:206 in the OPTIONS > response. > Do you know why squid doesn't Allow 206 for files? Squid follows the ICAP 206 extension specs and does not send Allow:206 unless it can buffer the entire HTTP mes

Re: [squid-users] How to extend Squid ICAP preview size

2019-09-16 Thread Felipe Arturo Polanco
Thanks for that Alex. I do have another related question regarding Squid 206 handling. I have a RESPMOD icap server that supports Allow:206 in the OPTIONS response. I can see that for html webpages, squid sends Allow: 204, 206, trailers in RESPMOD requests, and my server can handle that fine. Bu

Re: [squid-users] How to extend Squid ICAP preview size

2019-09-16 Thread Alex Rousskov
On 9/16/19 2:58 PM, Felipe Arturo Polanco wrote: > In our case we don't need to modify the initial 10MB, just scan it for > virus and if found, send a reset back to squid to not transmit the file. Yes, my original response was based on that assumption. In summary, you can ask Squid to own the 10

Re: [squid-users] How to extend Squid ICAP preview size

2019-09-16 Thread Felipe Arturo Polanco
Thanks for the detailed response Alex. In our case we don't need to modify the initial 10MB, just scan it for virus and if found, send a reset back to squid to not transmit the file. Do you have any additional recommendation for such case? Thanks, On Mon, Sep 16, 2019 at 11:54 AM Alex Roussko

Re: [squid-users] How to extend Squid ICAP preview size

2019-09-16 Thread Alex Rousskov
On 9/16/19 10:37 AM, Felipe Arturo Polanco wrote: > 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 sho

[squid-users] How to extend Squid ICAP preview size

2019-09-16 Thread Felipe Arturo Polanco
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 w