[squid-users] Multiple ecap req services

Alex Rousskov rousskov at measurement-factory.com
Thu Nov 15 17:43:25 UTC 2018


On 11/15/18 2:51 AM, Amos Jeffries wrote:
> On 15/11/18 9:00 AM, Luis Felipe Dominguez Vega wrote:
>> Not working.... i was added
>>
>> adaptation_service_chain request_chain ecapBlockSiteRequest
>> ecapSquidTransferAuditRequest
>>
>> and only ecapBlockSiteRequest is used.....


> This is sounding more and more like the eCAP module is broken.

Unless Squid configuration does not _use_ the declared request_chain. I
would ask for *all* adaptation-related lines from squid.conf first.

A good test is to reorder ecapSquidTransferAuditRequest and
ecapBlockSiteRequest in request_chain and see if ecapBlockSiteRequest is
still the only adaptation service that is being used. If it is, a
different set of adaptation_access lines is needed to enable
request_chain usage.


> Can you get a cache.log trace of what it is receiving and sending to Squid?

HTH,

Alex.


>> El mié., 14 nov. 2018 a las 8:54, Amos Jeffries escribió:
>>
>>     On 15/11/18 2:13 AM, Luis Felipe Dominguez Vega wrote:
>>     > by "use all services" i mean, that all the ecap services set as
>>     > reqmod_precache.... see this:
>>     > if i change the order in adaptation_access, then only the first
>>     defined
>>     > is used, the another is not used, so i think that in my
>>     > ecap module i need to put something like.... "continue to next
>>     > adaptation_service"?????
>>
>>
>>     Did you read the documentation I provided links for earlier?
>>
>>     There are multiple ways to group and order services. The services
>>     themselves can even change the order of what follows. The config sample
>>     you mention does not contain anything telling Squid those details.
>>
>>     You need to add one of those directives I provided links to - whichever
>>     one meets your required ordering.
>>
>>     Amos
>>     _______________________________________________
>>     squid-users mailing list
>>     squid-users at lists.squid-cache.org
>>     <mailto:squid-users at lists.squid-cache.org>
>>     http://lists.squid-cache.org/listinfo/squid-users
>>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 



More information about the squid-users mailing list