From: Jeff Trawick APLOG_MARK
should only be used when calling
ap_log_*
without additional wrappers. In this way, the
code will remain compatible with HTTPD 2.0 and 2.2.
Consider the following changes to take advantage of the new
+ APLOG_TRACE1..8
log levels:
+
APLOG_DEBUG
and
+ consider if one of the APLOG_TRACEn
levels is
+ more appropriate.APLOG_TRACEn
levels. If expensive
+ trace processing needs to be bypassed depending on the
+ configured log level, use
+ the APLOGtracen
+ and APLOGrtracen
macros.ap_get_server_version()
ap_get_server_description()
.
+ When generating output, where the amount of information
+ should be configurable by ServerTokens, use
+ ap_get_server_banner()
.ap_graceful_stop_signalled()
ap_mpm_query(AP_MPMQ_MPM_STATE)
and checking for
+ state AP_MPMQ_STOPPING
.ap_max_daemons_limit
, ap_my_generation
,
+ and ap_threads_per_child
ap_mpm_query()
query codes
+ AP_MPMQ_MAX_DAEMON_USED
, AP_MPMQ_GENERATION
,
+ and AP_MPMQ_MAX_THREADS
, respectively.ap_mpm_query()
ap_server_conf->process->pool
+ userdataap_state_query(AP_SQ_MAIN_STATE)
.ap_retained_data_create()
and
+ ap_retained_data_get()
.apr_global_mutex_create()
,
+ apr_proc_mutex_create()
ap_mutex_register()
,
+ ap_global_mutex_create()
, and
+ ap_proc_mutex_create()
; these allow your
+ mutexes to be configurable with
+ the CORE_PRIVATE
dav_new_error()
+ and dav_new_error_tag()
errno
contained
+ information describing the failure. Now,
+ an apr_status_t
parameter must be provided. Pass
+ 0/APR_SUCCESS if there is no such error information, or a valid
+ apr_status_t
value otherwise.ap_unixd_config.suexec_enabled
is
+ still provided, but new
+ field suexec_disabled_reason
provides an
+ explanation if the feature is not available.ExtendedStatus
+ On
, just set ap_extended_status
+ to 1
in a pre-config hook.