]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] startup: don't wait for nothing when no old pid remains
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Aug 2010 10:58:59 +0000 (12:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Aug 2010 10:58:59 +0000 (12:58 +0200)
commitbb545b4cfcca18e7adf4a56ef63c162273a85416
tree058827f51be206238a3ea9beb3da9876c19a4765
parentd137dd3151f6c968ce4f0cdb9c9f16c72e40f180
[MINOR] startup: don't wait for nothing when no old pid remains

In case of binding failure during startup, we wait for some time sending
signals to old pids so that they release the ports we need. But if there
aren't any old pids anymore, it's useless to wait, we prefer to fail fast.
Along with this change, we now have the number of old pids really found
in the nb_oldpids variable.
include/types/global.h
src/haproxy.c