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@xxxxxxx>
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re: 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