Read stat or info from the socket via perl

2009-02-14 Thread vmware vmware
Hi all, I am trying to read the information (show info, show stat) from the socket of haproxy with a perl script in order to get a similar result when using the socat command. The problem is that I am not able to read something. I see also a similar example in the sources in the contrib folder, bu

Re: Response with leading space?

2009-02-14 Thread Willy Tarreau
On Sat, Feb 14, 2009 at 10:19:33AM -0500, Luke Melia wrote: > On Fri, Feb 13, 2009 at 09:30:18PM +0100, Willy Tarreau wrote: > > > >Wow. That's pretty strange. I don't see any possibility for haproxy > >to do something like this, especially at the beginning of the data. > >But I can't imagine how n

Re: Response with leading space?

2009-02-14 Thread Luke Melia
On Fri, Feb 13, 2009 at 09:30:18PM +0100, Willy Tarreau wrote: Wow. That's pretty strange. I don't see any possibility for haproxy to do something like this, especially at the beginning of the data. But I can't imagine how nor why nginx would do that either. Quick update: heard from one our a