summaryrefslogtreecommitdiffstats
path: root/modules/md/md_http.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2023-07-14 14:26:50 +0200
committerStefan Eissing <icing@apache.org>2023-07-14 14:26:50 +0200
commitc69fae8d562a8f0e4e1ebf075a423678799ebe82 (patch)
treebd5489a912e6a3bbc9432eec2e5a0d19c333cb89 /modules/md/md_http.c
parenttest: update http2 test 008_03 for curl allowing the server to send almost al... (diff)
downloadapache2-c69fae8d562a8f0e4e1ebf075a423678799ebe82.tar.xz
apache2-c69fae8d562a8f0e4e1ebf075a423678799ebe82.zip
* mod_md:
- New directive `MDMatchNames all|servernames` to allow more control over how MDomains are matched to VirtualHosts. - New directive `MDChallengeDns01Version`. Setting this to `2` will provide the command also with the challenge value on `teardown` invocation. In version 1, the default, only the `setup` invocation gets this parameter. Refs #312. Thanks to @domrim for the idea. - For Managed Domain in "manual" mode, the checks if all used ServerName and ServerAlias are part of the MDomain now reports a warning instead of an error (AH10040) when not all names are present. - MDChallengeDns01 can now be configured for individual domains. Using PR from Jérôme Billiras (@bilhackmac) and adding test case and fixing proper working - Fixed a bug found by Jérôme Billiras (@bilhackmac) that caused the challenge teardown not being invoked as it should. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910996 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md/md_http.c')
-rw-r--r--modules/md/md_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/md/md_http.c b/modules/md/md_http.c
index d10bf0d3ac..0d21e7b14c 100644
--- a/modules/md/md_http.c
+++ b/modules/md/md_http.c
@@ -212,7 +212,7 @@ static apr_status_t req_create(md_http_request_t **preq, md_http_t *http,
const char *method, const char *url,
struct apr_table_t *headers)
{
- md_http_request_t *req = NULL;
+ md_http_request_t *req;
apr_pool_t *pool;
apr_status_t rv;