]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: Factorize ckch instance rebuild process
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 23 Apr 2026 14:23:50 +0000 (16:23 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 5 May 2026 15:08:14 +0000 (17:08 +0200)
commitca885cf6cf361ede80b89c20e4a647d6ca5c1133
tree89b715a629d50cd57d88d53d57c79320200d89a2
parent109e359a2cb1306e7656fe4c28becb167ffb0a29
MINOR: ssl: Factorize ckch instance rebuild process

The ckch instances for a given ckch_store have to be rebuilt when a
certificate is updated during runtime (via cli or lua). The code was
duplicated in lua so factorizing the actual loop avoids future errors
if the code changes. The new 'ckch_store_rebuild_instances' will have a
dedicated 0 return code if it needs to be called again (because of the
yielding logic since ckch instance rebuild might take some time).
src/hlua.c
src/ssl_ckch.c