summaryrefslogtreecommitdiffstats
path: root/modules/md/mod_md.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2017-11-13 11:47:35 +0100
committerStefan Eissing <icing@apache.org>2017-11-13 11:47:35 +0100
commit590d5c67a82d9d0dc25fa40bad90a1e9afd0d4d6 (patch)
treedcc3c428f726e15e9cd254cc305e7151cf8fb3ca /modules/md/mod_md.c
parentDocumentation rebuild (diff)
downloadapache2-590d5c67a82d9d0dc25fa40bad90a1e9afd0d4d6.tar.xz
apache2-590d5c67a82d9d0dc25fa40bad90a1e9afd0d4d6.zip
On the trunk:
mod_md: v1.0.2, fix staging reset when MDCertificateAgreemen was initially missing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1815078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/md/mod_md.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c
index fb2b4e9012..f3907d054b 100644
--- a/modules/md/mod_md.c
+++ b/modules/md/mod_md.c
@@ -671,7 +671,8 @@ static apr_status_t check_job(md_watchdog *wd, md_job_t *job, apr_pool_t *ptemp)
if (job->stalled) {
/* Missing information, this will not change until configuration
* is changed and server restarted */
- return APR_INCOMPLETE;
+ rv = APR_INCOMPLETE;
+ goto out;
}
else if (job->renewed) {
assess_renewal(wd, job, ptemp);
@@ -720,6 +721,7 @@ static apr_status_t check_job(md_watchdog *wd, md_job_t *job, apr_pool_t *ptemp)
job->md->name, job->error_runs, md_print_duration(ptemp, delay));
}
+out:
if (error_runs != job->error_runs) {
save_job_props(wd->reg, job, ptemp);
}