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 to first check
+ if tracing is enabled.Modules sometimes add process id and/or thread id to their log + messages. These ids are now logged by default, so it may not + be necessary for the module to log them explicitly. (Users may + remove them from the error log format, but they can be + instructed to add it back if necessary for problem diagnosis.)
+ + +ap_default_type()
ap_get_server_name()
ap_get_server_name_for_url()
instead. This new
+ function handles the odd case where the server name is an IPv6
+ literal address.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 Mutex
directive;
+ you can also remove any configuration mechanisms in your
+ module for such mutexes
+ 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.unixd_config
ap_unixd_config.suexec_enabled
is 0,
+ also log the value of the new
+ field suexec_disabled_reason
, which contains an
+ explanation of why it is not available.ExtendedStatus
had to be
+ set to On
, which in turn required that
+ mod_status was loaded. In 2.4, just
+ set ap_extended_status
to 1
in a
+ pre-config hook and the extended status data will be
+ available.ap_args_to_table()
would be
+ helpful.ap_parse_form_data()
.Content-Length
+ and Transfer-Encoding
to see if a body was
+ specifiedap_request_has_body()
.ap_pool_cleanup_set_null()
.Apache HTTP Server Version 2.3
+Available Languages: en
+The Shared Object Cache provides a means to share simple data + across all a server's workers, regardless of thread + and process models. It is used where the advantages of sharing + data across processes outweigh the performance overhead of + inter-process communication.
+The shared object cache as such is an abstraction. Four different + modules implement it. To use the cache, one or more of these modules + must be present, and configured.
+The only configuration required is to select which cache provider
+ to use. This is the responsibility of modules using the cache, and
+ they enable selecton using directives such as
+ AuthnCacheSOCache
,
+ SSLSessionCache
, and
+ SSLStaplingCache
.
Currently available providers are:
+Available Languages: en
+