From: Nick Kew Date: Sun, 9 Oct 2005 14:46:24 +0000 (+0000) Subject: Backport new_features documentation updates to 2.2. X-Git-Tag: 2.1.9~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a499cc4e138e0fe4a26df8edfd3dc8f7e68252d;p=thirdparty%2Fapache%2Fhttpd.git Backport new_features documentation updates to 2.2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@307442 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/new_features_2_2.html.en b/docs/manual/new_features_2_2.html.en index 953d337d543..11aef815de7 100644 --- a/docs/manual/new_features_2_2.html.en +++ b/docs/manual/new_features_2_2.html.en @@ -72,7 +72,9 @@
Regular Expression Library Updated
Version 5.0 of the Perl Compatible Regular Expression - Library (PCRE) is now included.
+ Library (PCRE) is now included. httpd can be + configured to use a system installation of PCRE by passing the + --with-pcre flag to configure.
Smart Filtering
mod_filter introduces dynamic configuration @@ -179,6 +181,31 @@
Monitor hook added
Monitor hook enables modules to run regular/scheduled jobs in the parent (root) process.
+ +
Regular expression API changes
+ +
The pcreposix.h header is no longer available; + it is replaced by the new ap_regex.h header. The + POSIX.2 regex.h implementation exposed by the old + header is now available under the ap_ namespace + from ap_regex.h. Calls to regcomp, + regexec and so on can be replaced by calls to + ap_regcomp, ap_regcomp.
+ +
DBD Framework (SQL Database API)
+ +

With Apache 1.x and 2.0, modules requiring an SQL backend + had to take responsibility for managing it themselves. Apart + from reinventing the wheel, this can be very inefficient, for + example when several modules each maintain their own connections.

+

Apache 2.1 and up provides the ap_dbd API for + managing database connections (including optimised strategies + for threaded and unthreaded MPMs), while APR 1.2 and up provides + the apr_dbd API for interacting with the database.

+

New modules SHOULD now use these APIs for all SQL database + operations. Existing applications SHOULD be upgraded to use it + where feasible, either transparently or as a recommended option + to their users.

diff --git a/docs/manual/new_features_2_2.xml b/docs/manual/new_features_2_2.xml index 9e151659566..bb0d4a3a531 100644 --- a/docs/manual/new_features_2_2.xml +++ b/docs/manual/new_features_2_2.xml @@ -69,7 +69,9 @@
Regular Expression Library Updated
Version 5.0 of the Perl Compatible Regular Expression - Library (PCRE) is now included.
+ Library (PCRE) is now included. httpd can be + configured to use a system installation of PCRE by passing the + --with-pcre flag to configure.
Smart Filtering
mod_filter introduces dynamic configuration @@ -176,6 +178,31 @@
Monitor hook added
Monitor hook enables modules to run regular/scheduled jobs in the parent (root) process.
+ +
Regular expression API changes
+ +
The pcreposix.h header is no longer available; + it is replaced by the new ap_regex.h header. The + POSIX.2 regex.h implementation exposed by the old + header is now available under the ap_ namespace + from ap_regex.h. Calls to regcomp, + regexec and so on can be replaced by calls to + ap_regcomp, ap_regcomp.
+ +
DBD Framework (SQL Database API)
+ +

With Apache 1.x and 2.0, modules requiring an SQL backend + had to take responsibility for managing it themselves. Apart + from reinventing the wheel, this can be very inefficient, for + example when several modules each maintain their own connections.

+

Apache 2.1 and up provides the ap_dbd API for + managing database connections (including optimised strategies + for threaded and unthreaded MPMs), while APR 1.2 and up provides + the apr_dbd API for interacting with the database.

+

New modules SHOULD now use these APIs for all SQL database + operations. Existing applications SHOULD be upgraded to use it + where feasible, either transparently or as a recommended option + to their users.