Missing ICAP header in adaptation_masterx_shared_names in RESPMOD only

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing ICAP header in adaptation_masterx_shared_names in RESPMOD only

Felipe Arturo Polanco
Hi,

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

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?



_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Missing ICAP header in adaptation_masterx_shared_names in RESPMOD only

Alex Rousskov
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
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users