On Mon, Sep 30, 2013 at 5:46 PM, Amos Jeffries <[email protected]> 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.


Thanks

-- 
.warren

Reply via email to