[Linux-HA] ldirectord 1.99 fails to recognize HTTPS server being shut down

Bernhard Erdmann be at berdmann.de
Mon Jul 4 15:19:23 MDT 2005


> Thanks for pointing this out, its clearly broken.
> Can you see if the following patch helps your cause?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: ldirectord
> ===================================================================
> RCS file: /home/cvs/linux-ha/linux-ha/ldirectord/ldirectord,v
> retrieving revision 1.108
> diff -u -r1.108 ldirectord
> --- ldirectord	28 Jun 2005 10:44:53 -0000	1.108
> +++ ldirectord	4 Jul 2005 04:07:48 -0000
> @@ -1914,6 +1914,10 @@
>  		($page, $errors, $cert)  = &Net::SSLeay::sslcat($host,
>  		               $port, $msg);
>  		alarm 0; # Cancel the alarm
> +		if (defined $errors){
> +			&ld_debug(2, "Errors: $errors");
> +			die($errors);
> +		}
>  		($head, $body) = split /\s?\n\s?\n/, $page, 2;
>  		($response, $head) = split /\s?\n/, $head, 2;
>  		&ld_debug(2, "Result: $response");


Hi, this patch disables every real server, no matter if it's alive or not.



More information about the Linux-HA mailing list