[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] Missing ICAP header in adaptation_masterx_shared_names in RESPMOD only
From:       Alex Rousskov <rousskov () measurement-factory ! com>
Date:       2020-02-25 21:13:34
Message-ID: 8e9b7757-01fa-ca17-4bf4-0cb78c1abcb3 () measurement-factory ! com
[Download RAW message or body]

On 2/25/20 11:17 AM, Felipe Polanco wrote:

> I'm consuming an ICAP service that requires Squid to send the masterx
> shared names header in the RESPMOD call.

What service or Squid configuration creates that header?


> For an unknown reason, the header is missing if squid is sending RESPMOD
> only to the ICAP server.
> 
> If I enable REQMOD and RESPMOD then the header is attached.

> Is this a bug or intentional?

Difficult to say for sure without more info, but perhaps the REQMOD
service was creating the header, and when you removed that service, the
header was gone, and Squid had nothing to share with the RESPMOD
service? If the removed REQMOD service was not creating that header,
then where did the header come from?


From http://www.squid-cache.org/Doc/config/adaptation_masterx_shared_names/:

> 	Squid will store and forward the set entry to subsequent adaptation
> 	transactions within the same master transaction scope.

Note the word "subsequent" in the above documentation paragraph. I
suspect that with only one (RESPMOD) service, nothing else may be
creating that header before Squid starts that RESPMOD transaction.


HTH,

Alex.

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic