Hi,
Ok, I will give this a try. Thank you for the idea. As you can probably
tell, we are really not perl programmers, but with your help it looks like
we are going to be able to make it work.
Thankyou,
Al
On Thu, 11 Jun 2009, Chris Robertson wrote:
> Date: Thu, 11 Jun 2009 16:13:23 -0800
> From: Chris Robertson <crobertson_at_gci.net>
> To: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] custom auth not working
>
> Al - Image Hosting Services wrote:
>> Hi,
>>
>> On Thu, 11 Jun 2009, Chris Robertson wrote:
>>> # Flush STDOUT
>>> $|=1;
>>>
>>
>> That fixed it. So, it is working. Would you have an idea on how to get it
>> to reconnect to the mysql server, if the connection goes down?
>
> Replace...
>
> $sth->execute();
>
> ...with...
>
> $sth->execute() or die $dbh->errstr;
>
> ...so your helper just exits on that condition. Squid will kick of another
> one (and I think retry). If something is really wrong, Squid will quit with
> a "Helpers dying too rapidly" message.
>
>>
>> Best Regards,
>> Al
>
> Chris
>
Received on Fri Jun 12 2009 - 15:09:59 MDT
This archive was generated by hypermail 2.2.0 : Fri Jun 12 2009 - 12:00:03 MDT