[squid-dev] url_rewrite_program doesn't work, redirector helpers are crashing

Amos Jeffries squid3 at treenet.co.nz
Wed Mar 1 17:14:20 UTC 2017


On 24/02/2017 8:38 p.m., Rallph wrote:
> According to
> http://www.squid-cache.org/Versions/v3/3.5/cfgman/url_rewrite_children.html,
> when the concurrency is >=1, Squid add an ID in front of the response and
> this is the 0 here (in fact I parse it with my C program and of course I
> printf the parsed value, not '0')

Nod. 0 is one of the possible values. So be sure to return the
channel-ID if any numeric at all is in that position.

The error Squid was logging seems to indicate that your helper was being
given an ID and not returning it (perhapse it was "0 ..." from Squid?)

Amos



More information about the squid-dev mailing list