]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker/ocsp: skip ocsp-update proxy init in master
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 17 Oct 2024 10:23:13 +0000 (12:23 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 17 Oct 2024 10:30:59 +0000 (12:30 +0200)
commit043f11e891e063f4a2864f4beeb62db028f1663b
tree8761071870b37460b3062650acc83eceeaa9001e
parent5184f3fb30a4ee290bc43e67809bb64538eb2cc4
MINOR: mworker/ocsp: skip ocsp-update proxy init in master

The proxy must be created in mworker mode, but only in the worker, not in
the master. The current code creates the proxy in both processes.

The patch only checks that we are not in the master to start the
ocsp-update pre-check.

No backport needed.
src/ssl_ocsp.c