Re: Res: Res: [squid-users] BUG 740

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 08 Oct 2008 19:22:51 +1300

NBBR wrote:
> NBBR wrote:
>>
>> NBBR wrote:
>>> I'm with problems for the squid(3.0) send content-type to my perl script using external acl's. this problem is what this in BUG 740?
>>>
>>> if it will be, would like resolv in squid 3.0?
>>>
>>> 3.0 is already restricted to only serious bugs. You can patch your own
>>> though if you want:
>>> http://www.squid-cache.org/Versions/v3/3.1/changesets/b9216.patch
>>> http://www.squid-cache.org/Versions/v3/3.1/changesets/b9223.patch
>>> http://www.squid-cache.org/Versions/v3/3.1/changesets/b9226.patch
>>>
>>> 3.1 has just been branched, which means test releases will come very
>>> soon which you can use.
>>> Amos
>>> --
>>> Please use Squid 2.7.STABLE4 or 3.0.STABLE9
>> I made download of SQUID 3.0 STABLE 9 and applied the PATCH' s, but when go to compile it of the following o error:
>>
>> external_acl.cc: In function ‘void parse_externalAclHelper(external_acl**)’:
>> external_acl.cc:353: erro: ‘DBG_IMPORTANT’ was not declared in this scope
>> make[3]: ** [external_acl.o] Erro 1
>>
>> it needs to apply more some PATCH?
>>
>
>> Ah, replace the DBG_IMPORTANT with 1. (DBG_CRITICAL with 0 too if any)
>
>
>> Amos
>> --
>> Please use Squid 2.7.STABLE4 or 3.0.STABLE9
>
> I compile and install squid correctly but when I configure the squid.conf for get anything of the HEADER (ex. Content-Type) it shows error when init:
>
> #-------------------------------------------------------------#
> /usr/local/squid/sbin/squid -d1
> FATAL: Bungled squid.conf line 409: external_acl_type bla %SRC %DST %>{Content-Type} /tmp/teste.pl
> Squid Cache (Version 3.0.STABLE9): Terminated abnormally.
> CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> #-------------------------------------------------------------#
>
> If I not configure the %>{Content-Type} or anything parameters the HEADER, it function normally.
>

Are you sure it's the patched squid binary running?
The very first patch of the three I listed added the option to the
parser. It should work, or die horribly.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Wed Oct 08 2008 - 06:22:55 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 08 2008 - 12:00:02 MDT