[squid-users] Icap redirection issues
Alex Rousskov
rousskov at measurement-factory.com
Thu Oct 10 21:28:16 UTC 2019
On 10/10/19 3:46 PM, Darren Breeze wrote:
> I am generating responses that look like this
> ICAP/1.0 200 OK
...
> Encapsulated: req-hdr=0, res-hdr=615
Depending on the ICAP request method and other details, the ICAP server
must send either an embedded HTTP request or an embedded HTTP response.
Currently, your ICAP server sends an embedded HTTP request _and_ an
embedded HTTP response (header) which may violate the ICAP specs and is
definitely not supported by Squid (because it does not make sense in
Squid context -- only one message can be adapted at a time).
Please note that the ICAP RESPMOD _request_ does (usually) contain both
an embedded HTTP request and an embedded HTTP response, but since the
ICAP server cannot modify the embedded request (too late for that!), the
ICAP server should only return an embedded response (the same or a
different/adapted one).
HTH,
Alex.
More information about the squid-users
mailing list