Re: Listen & more of 2 couples <ip>:<port>

From: Krzysztof Oledzki <ole#ans.pl>
Date: Mon, 10 Nov 2008 07:34:28 +0100 (CET)

On Wed, 5 Nov 2008, Laurent DOLOSOR wrote:

> Hello,

Hello,

> I try to use 'listen' with more of 2 couples <ip>:<port>
>
> The doc says
>
>> - the <IP_address>:<port_range> couple may be repeated indefinitely to require the proxy to listen to other addresses and/or ports. To achieve this, simply separate them with a coma.
>
> So I tried
>
>> listen www-mutualise 80.248.x.y1:80,80.248.x.y2:80
>
> It works.
>
> But
>
>> listen www-mutualise 80.248.x.y1:80,80.248.x.y2:80,80.248.x.y3:80
>
> Doesn't work o_O
>
>> [ALERT] 309/161509 (15450) : Invalid server address: '80.248.x.y1:80,80.248.x.y2'
>> [ALERT] 309/161509 (15450) : Error reading configuration file : /etc/haproxy/haproxy.cfg
>
> Someone else see something like that ? Any idea about what happens ?

Could you please check the attached patch?

Best regards,

                                 Krzysztof Olędzki

Received on 2008/11/10 07:34

This archive was generated by hypermail 2.2.0 : 2008/11/10 07:45 CET