Re: [squid-users] Squid 3.1.0.14: ICAP REQMOD - Not returning 403 error page to client

From: Silamael <Silamael_at_coronamundi.de>
Date: Mon, 23 Nov 2009 09:41:24 +0100

On 11/18/2009 08:22 AM, Silamael wrote:
> On 11/18/2009 01:59 AM, Amos Jeffries wrote:
>> Maybe yes, maybe no....
>>
>> What configuration are you referring too?
>> Is the ICAP server setting Content-Length correctly to the size of the
>> error page body?
>
> Hello Amos,
>
> As far as i can say, the Content-Length is set properly. I have some
> simple test working as intended with an ancient Squid 2.5 + ICAP patch.
> Configuration for ICAP is quite simple:
> > icap_enable on
> > icap_service icap_server reqmod_precache 0 icap://<some_ip>/
> > adaption_service_set class_1 icap_server
> > adaption_access class_1 allow all
>
> In the debug output for ICAP i cannot see any errors or some hint that
> the Content-Length in the response body is set wrong.
> If needed i can provide the debugging output.
>
> -- Matthias

Hello Amos,

I found out that my test creates an invalid Encapsulated header. After
fixing it, squid dies with an assertion failure in BodyPipe::undoCheckout().
Attached you find the cache.log of my test.

Greetings,
Matthias

Received on Mon Nov 23 2009 - 08:41:28 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 24 2009 - 12:00:04 MST