You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2017/11/13 10:47:35 UTC
svn commit: r1815078 - in /httpd/httpd/trunk: CHANGES
modules/md/md_version.h modules/md/mod_md.c
Author: icing
Date: Mon Nov 13 10:47:35 2017
New Revision: 1815078
URL: http://svn.apache.org/viewvc?rev=1815078&view=rev
Log:
On the trunk:
mod_md: v1.0.2, fix staging reset when MDCertificateAgreemen was initially missing.
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/md/md_version.h
httpd/httpd/trunk/modules/md/mod_md.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1815078&r1=1815077&r2=1815078&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon Nov 13 10:47:35 2017
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes with Apache 2.5.1
+ *) mod_md: v1.0.2, fix staging reset when MDCertificateAgreemen was initially missing.
+ [Stefan Eissing]
+
*) mod_watchdog: Correct some log messages. [Rainer Jung]
*) core: silently ignore a not existent file path when IncludeOptional
Modified: httpd/httpd/trunk/modules/md/md_version.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_version.h?rev=1815078&r1=1815077&r2=1815078&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_version.h (original)
+++ httpd/httpd/trunk/modules/md/md_version.h Mon Nov 13 10:47:35 2017
@@ -26,7 +26,7 @@
* @macro
* Version number of the md module as c string
*/
-#define MOD_MD_VERSION "1.0.1"
+#define MOD_MD_VERSION "1.0.2"
/**
* @macro
@@ -34,7 +34,7 @@
* release. This is a 24 bit number with 8 bits for major number, 8 bits
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
*/
-#define MOD_MD_VERSION_NUM 0x010001
+#define MOD_MD_VERSION_NUM 0x010002
#define MD_EXPERIMENTAL 0
#define MD_ACME_DEF_URL "https://acme-v01.api.letsencrypt.org/directory"
Modified: httpd/httpd/trunk/modules/md/mod_md.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md.c?rev=1815078&r1=1815077&r2=1815078&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md.c Mon Nov 13 10:47:35 2017
@@ -671,7 +671,8 @@ static apr_status_t check_job(md_watchdo
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_watchdo
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);
}