]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: init: Make devnullfd global and create it earlier in init
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 28 Oct 2025 17:00:43 +0000 (18:00 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 29 Oct 2025 09:54:17 +0000 (10:54 +0100)
commit1ec59d3426f1bab9924aae940406f9f6faeb9290
tree6bbfcfef8d7ce95697d4e43d53aad80a84793c74
parentc606ff45a0cab8f08a0b06df17737ec309cf4170
MINOR: init: Make devnullfd global and create it earlier in init

The devnull fd might be needed during configuration parsing, if some
options require to fork/exec for instance. So we now create it much
earlier in the init process and without depending on the '-q' or '-d'
parameters.
include/haproxy/global.h
src/haproxy.c