]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] cfgparse: correctly count one socket per port in ranges
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2011 10:08:57 +0000 (11:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2011 10:14:29 +0000 (11:14 +0100)
commitc8b11090b0f3102f2506b5617529e97a0505b7fc
treef4140efe11f19a11b7a50d5e625b5bfba1f78fa1
parent910ef306bc98f061cfa74c253b5714f6161b6f7b
[BUG] cfgparse: correctly count one socket per port in ranges

We used to only count one socket instead of one per listener. This makes
the socket count wrong, preventing from automatically computing the proper
number of sockets to bind.

This fix must be backported to 1.4 and 1.3.
src/cfgparse.c