Re: [squid-users] external_acl_type helper exiting

From: Warren Baker <>
Date: Tue, 1 Oct 2013 11:25:01 +0200

On Mon, Sep 30, 2013 at 5:46 PM, Amos Jeffries <> wrote:
> I can't help with the Go side of things unfortuately. It is still on my TODO
> list for learning.

I am no pro myself :)

> Is it a timeout of the read() call or the stdin actually closing on timeout?
> The first one can possibly be caught explicitly in your code. If the error
> code is given and the buffer empty re-try the read(). There should be a
> different error code entirely when Squid closes the socket to shutdown the
> helper.

I added code to re-try the read but it looks like stdin is actually
been closed on timeout.
I have re-searched Go for some indication of a timeout but can't find
anything. On the Go OS package side (FreeBSD 8.3) there is also no
indication of a timeout.

I have added more debugging so lets see what else i can pick up on.


Received on Tue Oct 01 2013 - 09:25:18 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 01 2013 - 12:00:04 MDT