mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 07:26:57 +03:00
The mutex must be pool-managed, not ssl managed. We are encountering
segfaults on Win32 when the cleanup of the mutex occurs after the pool was destroyed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -970,9 +970,9 @@ void ssl_init_Child(apr_pool_t *p, server_rec *s)
|
||||
/* XXX: there should be an ap_srand() function */
|
||||
srand((unsigned int)time(NULL));
|
||||
|
||||
/* open the mutex lockfile */
|
||||
ssl_mutex_reinit(s, p);
|
||||
return;
|
||||
/* open the mutex lockfile */
|
||||
ssl_mutex_reinit(s, p);
|
||||
return;
|
||||
}
|
||||
|
||||
apr_status_t ssl_init_ChildKill(void *data)
|
||||
@ -992,8 +992,6 @@ apr_status_t ssl_init_ModuleKill(void *data)
|
||||
*/
|
||||
ssl_scache_kill(s);
|
||||
|
||||
ssl_mutex_kill(s);
|
||||
|
||||
/*
|
||||
* Destroy the temporary keys and params
|
||||
*/
|
||||
|
Reference in New Issue
Block a user