]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: acme: creating an account should not end the task
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 29 Apr 2025 12:09:46 +0000 (14:09 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 29 Apr 2025 12:18:05 +0000 (14:18 +0200)
The account creation was mistakenly ending the task instead of being
wakeup for the NewOrder state, it was preventing the creation of the
certificate, however the account was correctly created.

To fix this, only the jump to the end label need to be remove, the
standard leaving codepath of the function will allow to be wakeup.

No backport needed.

src/acme.c

index 45d701409fcce2e3fd1c95273978668bb3d42063..31fc273e07edcea9e99df06de1a569beda59827a 100644 (file)
@@ -1705,7 +1705,6 @@ struct task *acme_process(struct task *task, void *context, unsigned int state)
                                st = ACME_NEWORDER;
                                http_st = ACME_HTTP_REQ;
                                task_wakeup(task, TASK_WOKEN_MSG);
-                               goto end;
                        }