]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
winnt_mpm: Restore Win32DisableAcceptEx On directive and Win9x platform
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 5 Jan 2008 18:23:27 +0000 (18:23 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 5 Jan 2008 18:23:27 +0000 (18:23 +0000)
by recreating the bucket allocator each time the trans pool is cleared.

PR: 11427 #16 (follow-on)
Submitted by: Tom Donovan <Tom.Donovan acm.org>
Backport: r609181

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

CHANGES
server/mpm/winnt/child.c

diff --git a/CHANGES b/CHANGES
index 83ef49017db1c0b9722bf55d3d0ce02782451a13..c03bc14567472c483f9d1f2edb50299469bc6914 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.2.8
 
+  *) winnt_mpm: Restore Win32DisableAcceptEx On directive and Win9x platform
+     by recreating the bucket allocator each time the trans pool is cleared.
+     PR: 11427 #16 (follow-on)  [Tom Donovan <Tom.Donovan acm.org>]
+
   *) mod_dav: Fix evaluation of If-Match * and If-None-Match * conditionals.
      PR 38034 [Paritosh Shah <shah.paritosh gmail.com>]
 
index 188e1f49afcea78c4ff03b76c9b60ae4d46f8c10..d918e47aa7391797ba93cc20893a63fd9c243349 100644 (file)
@@ -433,12 +433,12 @@ static PCOMP_CONTEXT win9x_get_connection(PCOMP_CONTEXT context)
         apr_pool_create_ex(&context->ptrans, pchild, NULL, allocator);
         apr_allocator_owner_set(allocator, context->ptrans);
         apr_pool_tag(context->ptrans, "transaction");
-        context->ba = apr_bucket_alloc_create(context->ptrans);
         apr_thread_mutex_unlock(child_lock);
     }
 
     while (1) {
         apr_pool_clear(context->ptrans);
+        context->ba = apr_bucket_alloc_create(context->ptrans);
         context->accept_socket = remove_job();
         if (context->accept_socket == INVALID_SOCKET) {
             return NULL;