Hi Malcolm,
On Thu, Feb 26, 2009 at 11:45:31AM +0000, Malcolm Turnbull wrote:
> I'm using haproxy-1.3.15.7.tar.gz for some testing and looking at the
> options to bind multiple ports.
>
> The docs imply that you can use a line such as:
>
> listen VIP_Name :80,:81,:8080-8089
>
> But this gives me :
>
> [ALERT] 056/114217 (18173) : Invalid server address: ':80,'
> [ALERT] 056/114217 (18173) : Error reading configuration file :
> /etc/haproxy/haproxy.cfg
>
> However if I break up the ports using <3 per line it works fine:
>
> listen VIP_Name 192.168.2.83:80
> bind 192.168.2.83:103,192.168.2.83:102
> bind 192.168.2.83:104,192.168.2.83:105
>
> Is this a deliberate feature change? (not a major issue but just
> wanted to check)
No it's a bug reported by Laurent Dolosor and fixed by Krzysztof Oledzki last month, it's just that I have not released a new release with that alone yet. I think I'll have to find some time to release 1.3.15.8 this week-end. If time is enough, I'll try to also backport my work on the doc.
If you want, you can download patch 1d62e33b0108a1da634c1936605235635df3081d on the git web interface ("[BUG] Fix listen & more of 2 couples <ip>:<port>").
Regards,
Willy
Received on 2009/02/26 23:26
This archive was generated by hypermail 2.2.0 : 2009/02/27 00:45 CET