You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2019/06/20 07:27:07 UTC
svn commit: r1861672 - /httpd/httpd/trunk/include/http_main.h
Author: jorton
Date: Thu Jun 20 07:27:06 2019
New Revision: 1861672
URL: http://svn.apache.org/viewvc?rev=1861672&view=rev
Log:
Clarify pool lifetime constraints when modifying ap_server_config_defines.
PR: 63516
Modified:
httpd/httpd/trunk/include/http_main.h
Modified: httpd/httpd/trunk/include/http_main.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_main.h?rev=1861672&r1=1861671&r2=1861672&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_main.h (original)
+++ httpd/httpd/trunk/include/http_main.h Thu Jun 20 07:27:06 2019
@@ -66,8 +66,10 @@ AP_DECLARE_DATA extern apr_array_header_
/** An array of all -c directives. These are processed after the server's
* config file */
AP_DECLARE_DATA extern apr_array_header_t *ap_server_post_read_config;
-/** An array of all -D defines on the command line. This allows people to
- * effect the server based on command line options */
+/** An array of all -D defines on the command line. This allows users
+ * to effect the server based on command line options. A module
+ * which adds to this array must allocate the new element value from
+ * same pool as the array (->pool in the array header). */
AP_DECLARE_DATA extern apr_array_header_t *ap_server_config_defines;
/** Available integer for using the -T switch */
AP_DECLARE_DATA extern int ap_document_root_check;