]> 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:38:20 +0000 (14:38 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 23 Feb 2022 14:38:20 +0000 (14:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898347 13f79535-47bb-0310-9956-ffa450edef68

include/http_config.h

index 2aac6d4325398fe4df55275290953e429ef3c4e3..39fe72aff8cdceda7db68efc5171175a85f02e84 100644 (file)
@@ -1350,6 +1350,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