MINOR: global: keep a copy of the initial rlim_fd_cur and rlim_fd_max values
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Mar 2019 09:09:28 +0000 (10:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Mar 2019 09:40:30 +0000 (10:40 +0100)
commitbf6964007af28bd5ddafa7c2a543324c117ea37a
tree2abcc504820a1f99cfb736e7a846658395cc78d4
parent645635da847b027d5f651b99c31d3ae006c73f19
MINOR: global: keep a copy of the initial rlim_fd_cur and rlim_fd_max values

Let's keep a copy of these initial values. They will be useful to
compute automatic maxconn, as well as to restore proper limits when
doing an execve() on external checks.
include/types/global.h
src/haproxy.c