]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Resolves BZ65861 - clarify post_config api doc
authorRich Bowen <rbowen@apache.org>
Wed, 23 Feb 2022 14:39:07 +0000 (14:39 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 23 Feb 2022 14:39:07 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1898348 13f79535-47bb-0310-9956-ffa450edef68

include/http_config.h

index 77657ae4f4bcafa718fb18c1fc5dffe857aed9c0..8359eb13138d31bb858c07887dd306b401aa353b 100644 (file)
@@ -1339,6 +1339,16 @@ AP_DECLARE_HOOK(void,test_config,(apr_pool_t *pconf, server_rec *s))
 
 /**
  * Run the post_config function for each module
+ *
+ * The function might be called multiple times.  @a pconf, @a plog, and
+ * @a ptemp may be cleared and/or destroyed between calls.
+ *
+ * The function will be called zero or one times with the server's state being
+ * #AP_SQ_MS_CREATE_PRE_CONFIG, and will be called one or more times with
+ * the server's state being #AP_SQ_MS_CREATE_CONFIG.
+ *
+ * @see ap_state_query(), #AP_SQ_MAIN_STATE
+ *
  * @param pconf The config pool
  * @param plog The logging streams pool
  * @param ptemp The temporary pool