Hi Horms, On Mon, Jun 07, 2010 at 03:16:57PM +0900, Simon Horman wrote: > Hi Dejan, > > could you please pull http://hg.vergenet.net/linux-ha/agents/ to > get the following change?
Sure. Don't you have the write access to the linux-ha.org repositories? Cheers, Dejan > # HG changeset patch > # User Haw Loeung <[email protected]> > # Date 1275891205 -32400 > # Node ID 7d0189d5dae82ef2995d5efd5e48a3269c2da749 > # Parent 788b2adc145e9ff7c8f407580efdbb132701974a > Low: ldirectord: Don't strip pre-pended "/" from query strings when using > simpletcp > > ldirectord is used to monitor SMTP connections and issues an SMTP "QUIT". > It then checks if it receives a "221 ..." SMTP message to say it was > successful. > > Unfortunately, ldirectord sends "/QUIT" instead of "QUIT" and this fails. > > Signed-off-by: Simon Horman <[email protected]> > > diff -r 788b2adc145e -r 7d0189d5dae8 ldirectord/ldirectord.in > --- a/ldirectord/ldirectord.in Fri Jun 04 13:42:16 2010 +0200 > +++ b/ldirectord/ldirectord.in Mon Jun 07 15:13:25 2010 +0900 > @@ -3362,7 +3362,7 @@ > $|=1; > select STDOUT; > > - my $request = $$r{request}; > + my $request = substr($$r{request}, 1); > $request =~ s/\\n/\n/g ; > > &ld_debug(2, "Checking simpletcp server=$$r{server} > port=$d_port request:\n$request"); > _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
