commit | dc23a92ee77cd591ece8c4082afefdd8bb903a72 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 16 11:10:36 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 16 11:14:30 2011 +0100 |
tree | 82dbf9e43a306936eda39d507ee6bffbebd842a4 | |
parent | c8b11090b0f3102f2506b5617529e97a0505b7fc [diff] |
[BUG] startup: set the rlimits before binding ports, not after. As reported by the Loadbalancer.org team, it was not possible to bind more than 1024 ports. This is because the process' limits were set after trying to bind the sockets, which defeats their purpose. This fix must be backported to 1.4 and 1.3.