From: Jeff Trawick Date: Wed, 12 May 2010 19:41:19 +0000 (+0000) Subject: replace r942897 with the original submitted patch X-Git-Tag: 2.3.6~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4548ab57f9fc952f0952932ba9ce74f61cefee85;p=apache replace r942897 with the original submitted patch prefork MPM: Run cleanups for final request when process exits gracefully. PR: 43857 Submitted by: Tom Donovan git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@943650 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index e7ec7a405a..1ed3a85b1c 100644 --- a/CHANGES +++ b/CHANGES @@ -28,6 +28,9 @@ Changes with Apache 2.3.7 processing is completed, avoiding orphaned callback pointers. [Brett Gervasoni , Jeff Trawick] + *) prefork MPM: Run cleanups for final request when process exits gracefully. + PR 43857. [Tom Donovan] + *) ab: fix number of requests sent by ab when keepalive is enabled. PR 48497. [Bryn Dole ] diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 358a9997a1..d0947c2df7 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -684,6 +684,7 @@ static void child_main(int child_num_arg) die_now = 1; } } + apr_pool_clear(ptrans); clean_child_exit(0); }