[squid-users] Transfer-Encoding tag not delivered to c-icap server

Alex Rousskov rousskov at measurement-factory.com
Mon Dec 14 17:02:24 UTC 2015


On 12/14/2015 08:33 AM, Giray Simsek wrote:

> I am using squid + c-icap for content adaptation.
> On a client machine, I am trying to download a pdf file from docs.google.com. Looks like the google servers are sending the response as chunked as the http headers look like below:

> Transfer-Encoding:chunked


> I listened to the packets that are delivered to icap server from
> squid and verified that "Transfer-Encoding" header is not delivered
> to icap server.


This is normal. Squid decodes chunked transfer encoding before sending
the message to the ICAP (or eCAP) service, as it should.


> So I can't find out at what point the file download is being blocked.
> File is downloaded successfully when the icap server is stopped. But
> I guess the problem might be about squid's way of passing the file
> content (or headers) to icap server. Is there anything I can do on
> the icap server side to make the download succeed?

You may want start by finding the ICAP request and response headers and
posting them here. IIRC, Squid reports them with debug_options ALL,2


HTH,

Alex.






More information about the squid-users mailing list