Re: Squid w/ ICAP 204s

From: Lisa Fowler <lisa.fowler_at_gmail.com>
Date: Fri, 5 Dec 2008 13:31:18 -0800

On Fri, Dec 5, 2008 at 12:24 PM, Christos Tsantilas
<christos_at_chtsanti.net> wrote:
> Lisa Fowler wrote:
>
>> to do is vector the data off the proxy, but still send the data
>> unmodified to the client, which is why my ICAP server only responds
>> with 204s...
>
> Maybe it is better to use the preview feature. The squid will send the
> headers plus some data of the body and waits for an answer from ICAP
> server, "100 continue" or "204 allow". Your icap server can respond always
> with 204.

The preview doesn't guarantee that the entire body is sent, right? I
need to see all of the payload...

Like what you said, it looks like this was the problem: The server was
responding with a 204 even when Squid's ICAP client did *not* send an
"Allow: 204" header in the ICAP request. It's too bad that Squid's
ICAP implementation doesn't generate an error message after receiving
a 204 when one is not allowed and preview is not enabled...

I'm fixing up my server now, so I can't guarantee that this was the
bug, but all signs seem to lead that way!

Thanks much!
Lisa
Received on Fri Dec 05 2008 - 21:31:22 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 12:00:03 MST