From: Jim Jagielski Date: Tue, 1 May 2007 13:16:58 +0000 (+0000) Subject: Approved backport: X-Git-Tag: 2.2.5~273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee5ee3c562a87283794820f81412f9088351b02;p=thirdparty%2Fapache%2Fhttpd.git Approved backport: * mod_ssl: Move thread locking upcall initialization before hardware library initialization, so hardware library can use these upcalls when run in a threaded MPM. Fixes PR 20951. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@534062 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d5e45c9488b..b8e87cd3dff 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,11 @@ -*- coding: utf-8 -*- Changes with Apache 2.2.5 + *) mod_ssl: Move thread locking upcall initialization before + hardware library initialization, so hardware library can use + these upcalls when run in a threaded MPM. PR 20951. + [Sander Temme] + *) ab.c: Correct behavior of HTTP request headers sent by ab in presence of -H command-line overrides. PR 31268, 26554. [Arvind Srinivasan ] diff --git a/modules/ssl/ssl_engine_init.c b/modules/ssl/ssl_engine_init.c index 7eb8ffac1a5..c6a5d1763c5 100644 --- a/modules/ssl/ssl_engine_init.c +++ b/modules/ssl/ssl_engine_init.c @@ -231,6 +231,10 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog, } +#if APR_HAS_THREADS + ssl_util_thread_setup(p); +#endif + /* * SSL external crypto device ("engine") support */ @@ -238,10 +242,6 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog, ssl_init_Engine(base_server, p); #endif -#if APR_HAS_THREADS - ssl_util_thread_setup(p); -#endif - ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Init: Initialized %s library", SSL_LIBRARY_NAME);