]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
added proposals for backporting patches for PRs 39985 and 41302,
authorChris Darroch <chrisd@apache.org>
Wed, 16 May 2007 02:21:08 +0000 (02:21 +0000)
committerChris Darroch <chrisd@apache.org>
Wed, 16 May 2007 02:21:08 +0000 (02:21 +0000)
and various prerequisite patches

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@538407 13f79535-47bb-0310-9956-ffa450edef68

STATUS

diff --git a/STATUS b/STATUS
index 03baf849f4379f35cab1121e3a5fb28b280644b5..6397b06a9a6312f0ff805ccdbd913ac0d2bc4c21 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -212,6 +212,86 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
        Trunk version works
      +1: rpluem
 
+   * mod_dbd: Rename functions and variables for consistency, and move
+     some functions around for readability, prior to making
+     functional changes for PRs 39985, 41302, and other issues.
+     Trunk version of patches:
+       http://svn.apache.org/viewvc?view=rev&revision=491729
+       http://svn.apache.org/viewvc?view=rev&revision=492394
+         (relevant portions only)
+       http://svn.apache.org/viewvc?view=rev&revision=521230
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mod_dbd-1tidy-2.2.x.patch
+     +1: chrisd
+
+   * mod_dbd: Handle error conditions in dbd_construct() properly.
+     Simplify ap_dbd_open() and use correct arguments to apr_dbd_error()
+     when non-threaded.  Register correct cleanup data in non-threaded
+     ap_dbd_acquire() and ap_dbd_cacquire().  Clean up configuration data
+     and merge function.  Use ap_log_error() wherever possible.
+     Trunk version of patches:
+       http://svn.apache.org/viewvc?view=rev&revision=491884
+       http://svn.apache.org/viewvc?view=rev&revision=492394
+         (relevant portions only)
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mod_dbd-2misc-2.2.x.patch
+     +1: chrisd
+
+   * beos MPM: Create pmain pool and run modules' child_init hooks when
+     entering ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
+     Otherwise modules' child_init hooks appear to never be executed.
+     Also, destroying pmain ensures that cleanups registered in modules'
+     child_init hooks are performed (e.g., mod_log_config and mod_dbd).
+     Trunk version of patch:
+       http://svn.apache.org/viewvc?view=rev&revision=491922
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mpm_child_init-beos-2.2.x.patch
+     +0: chrisd (abstaining; unable to test)
+
+   * netware MPM: Destroy pmain pool when exiting ap_mpm_run() so that
+     cleanups registered in modules' child_init hooks are performed (e.g.,
+     mod_log_config and mod_dbd).
+     Trunk version of patch:
+       http://svn.apache.org/viewvc?view=rev&revision=491907
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mpm_child_init-netware-2.2.x.patch
+     +0: chrisd (abstaining; unable to test)
+
+   * mod_dbd: Create memory sub-pools for each DB connection and close
+     DB connections in a pool cleanup function.  Ensure prepared statements
+     are destroyed before DB connection is closed.  When using reslists,
+     prevent segfaults when child processes exit, and stop memory leakage
+     of ap_dbd_t structures.  Avoid use of global s->process->pool, which
+     isn't destroyed by exiting child processes in most multi-process MPMs.
+     See also the third section of:
+       http://marc.info/?l=apache-httpd-dev&m=116742014418304&w=2
+     and the eventual solution as described in the comments in the
+     dbd_setup() function.
+       PR: 39985
+     Trunk version of patch:
+       http://svn.apache.org/viewvc?view=rev&revision=496831
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mod_dbd-3pools-2.2.x.patch
+     +1: chrisd
+
+   * mod_dbd: Introduce configuration groups to allow inheritance by virtual
+     hosts of database configurations from the main server.  Determine the
+     minimal set of distinct configurations and share connection pools
+     whenever possible.  Allow virtual hosts to override inherited SQL
+     statements.  See also the fourth section of:
+       http://marc.info/?l=apache-httpd-dev&m=116742014418304&w=2
+     and the eventual solution as implemented in the dbd_post_config()
+     function.  Obviates r424798, r432560, r432562, and r466641.
+     Could be improved by the addition of <DBDGroup> configuration
+     sections.  (Any takers?  :-)
+       PR: 41302
+     Trunk version of patch:
+       http://svn.apache.org/viewvc?view=rev&revision=503931
+     2.2.x version of patch:
+       http://people.apache.org/~chrisd/patches/mod_dbd_pools_groups/mod_dbd-4groups-2.2.x.patch
+     +1: chrisd
+
+
 PATCHES/ISSUES THAT ARE STALLED
 
     * PKCS#7: backport PCKS#7 patches from trunk.