]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acme: register the task in the ckch_store
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 16 Apr 2025 15:12:43 +0000 (17:12 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 16 Apr 2025 15:12:43 +0000 (17:12 +0200)
commite778049ffc058230efc922aca76408e5d3eb147f
treeb89fe3ee52ff15287287e9d745604b94910091ae
parent115653bfc85a4d82d797a15f0db8c49f6eb5481a
MINOR: acme: register the task in the ckch_store

This patch registers the task in the ckch_store so we don't run 2 tasks
at the same time for a given certificate.

Move the task creation under the lock and check if there was already a
task under the lock.
include/haproxy/ssl_ckch-t.h
src/acme.c