]> git.kaiwu.me - haproxy.git/commit
MINOR: init: move some maxsock updates earlier
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Mar 2019 08:39:42 +0000 (09:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Mar 2019 14:53:14 +0000 (15:53 +0100)
commit8d687d846485e41afc359f0006d08dd559adddda
tree439e0b59913ba5c3ac897b440f7af8b2fb6d14cf
parent5a023f0d7aa7686f29d399ef12cd94f2ea33b503
MINOR: init: move some maxsock updates earlier

We'll need to know the global maxsock before the maxconn calculation.
Actually only two components were calculated too late, the peers FD
and the stats FD. Let's move them a few lines upward.
src/haproxy.c