]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: haproxy: prepare to move limits-related code
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 10 Jul 2024 10:51:08 +0000 (12:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Jul 2024 16:05:48 +0000 (18:05 +0200)
commit22db643648ec2abc250cb5581ab50ee6a8076b89
tree55f631c3b2b6c990be322b38f7a08977b49169a5
parentb8dc783eb966b124abbc337dc5a19fd4b071781e
MINOR: haproxy: prepare to move limits-related code

This patch is done in order to prepare the move of handlers to compute and to
check process related limits as maxconn, maxsock, maxpipes.

So, these handlers become no longer static due to the future move.

We add the handlers declarations in limits.h in this patch as well, in order to
keep the next patch, dedicated to code replacement, without any additional
modifications.

Such split also assures that this patch can be compiled separately from the
next one, where we moving the handlers. This  is important in case of
git-bisect.
include/haproxy/limits.h
src/haproxy.c