Mailing List Archive

One-line debugging patch.
Hi,

After wrestling with my Backhand (CVS version) setup all morning, then
realising my desktop machine was swapping between two IPs due to DHCP, this
one-line change to back_util.c provided the information to track down the
problem.

Cheers,
_Gus


*** back_util.c.orig 2004-04-15 14:01:14.000000000 +0100
--- back_util.c 2004-04-15 14:01:32.000000000 +0100
***************
*** 111,117 ****
nsd=-1;
if(errno == EINTR) {
ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
! "connect() timed out");
close(nsd);
nsd=-1;
}
--- 111,117 ----
nsd=-1;
if(errno == EINTR) {
ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
! "connect() to [%s] timed out",inet_ntoa(sain.sin_addr))
;
close(nsd);
nsd=-1;
}


--
Angus M Wood
Chief Architect
Inspired Broadcast Networks
www.inspiredbroadcast.net
Out of Home Pay to Play Networked Entertainment
1st Floor, 1 ­ 7 Livonia Street, London, W1F 8AD
Tel: +44 20 7287 5813
Mob: +44 7767 393039
Fax: +44 20 7287 0131
One-line debugging patch. [ In reply to ]
Committed. Thanks.

On Apr 15, 2004, at 10:24 AM, Angus Wood wrote:
> After wrestling with my Backhand (CVS version) setup all morning, then
> realising my desktop machine was swapping between two IPs due to DHCP,
> this one-line change to back_util.c provided the information to track
> down the problem.
> ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
> ! "connect() timed out");
> ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
> ! "connect() to [%s] timed
> out",inet_ntoa(sain.sin_addr)) ;

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth